aboutsummaryrefslogtreecommitdiff
path: root/networking/ntpd_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ntpd_simple.c')
-rw-r--r--networking/ntpd_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ntpd_simple.c b/networking/ntpd_simple.c
index 55bded8ff..3e7fc4719 100644
--- a/networking/ntpd_simple.c
+++ b/networking/ntpd_simple.c
@@ -378,7 +378,7 @@ step_time_once(double offset)
378 bb_perror_msg_and_die("settimeofday"); 378 bb_perror_msg_and_die("settimeofday");
379 379
380 tval = tv.tv_sec; 380 tval = tv.tv_sec;
381 strftime(buf, sizeof(buf), "%a %b %e %H:%M:%S %Z %Y", localtime(&tval)); 381 strftime_YYYYMMDDHHMMSS(buf, sizeof(buf), &tval);
382 382
383 bb_error_msg("setting clock to %s (offset %fs)", buf, offset); 383 bb_error_msg("setting clock to %s (offset %fs)", buf, offset);
384 384