diff options
Diffstat (limited to 'nuttx/sched/gmtime_r.c')
-rw-r--r-- | nuttx/sched/gmtime_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/gmtime_r.c b/nuttx/sched/gmtime_r.c index 8661d73b7..bf9923bb3 100644 --- a/nuttx/sched/gmtime_r.c +++ b/nuttx/sched/gmtime_r.c @@ -177,7 +177,7 @@ struct tm *gmtime_r(const time_t *clock, struct tm *result) /* Get the seconds since the EPOCH */ time = *clock; - dbg("%s: clock=%d\n", __FUNCTION__, (int)time); + dbg("clock=%d\n", (int)time); /* Convert to days, hours, minutes, and seconds since the EPOCH */ @@ -192,14 +192,14 @@ struct tm *gmtime_r(const time_t *clock, struct tm *result) sec = time; - dbg("%s: hour=%d min=%d sec=%d\n", __FUNCTION__, + dbg("hour=%d min=%d sec=%d\n", (int)hour, (int)min, (int)sec); /* Convert the days since the EPOCH to calendar day */ clock_utc2calendar(jdn, &year, &month, &day); - dbg("%s: jdn=%d year=%d month=%d day=%d\n", __FUNCTION__, + dbg("jdn=%d year=%d month=%d day=%d\n", (int)jdn, (int)year, (int)month, (int)day); /* Then return the struct tm contents */ |