diff options
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r-- | libshouldbeinlibc/timefmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c index 7ce973bc..a28f58bd 100644 --- a/libshouldbeinlibc/timefmt.c +++ b/libshouldbeinlibc/timefmt.c @@ -338,8 +338,8 @@ fmt_past_time (struct timeval *tv, struct timeval *now, end = stpcpy (end, *dfmt); end = stpcpy (end, *sep); - end = stpcpy (end, *fmt); - + stpcpy (end, *fmt); + used = strftime (buf, width + 1, whole_fmt, &tm); } |