diff options
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/unix-formats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/unix-formats.c b/src/vppinfra/unix-formats.c index c4473299563..7059686555b 100644 --- a/src/vppinfra/unix-formats.c +++ b/src/vppinfra/unix-formats.c @@ -812,11 +812,11 @@ u8 * format_timeval (u8 * s, va_list * args) break; case 'm': what = tm->tm_mon + 1; - what_fmt = "%2d"; + what_fmt = "%02d"; break; case 'd': what = tm->tm_mday; - what_fmt = "%2d"; + what_fmt = "%02d"; break; case 'H': what = tm->tm_hour; |