diff options
-rw-r--r-- | libshouldbeinlibc/timefmt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c index add5001f..906b9ed1 100644 --- a/libshouldbeinlibc/timefmt.c +++ b/libshouldbeinlibc/timefmt.c @@ -235,7 +235,6 @@ fmt_seconds (struct timeval *tv, int leading_zeros, int frac_places, int frac = tv->tv_usec, i; for (i = 6; i > frac_places; i--) frac /= 10; - *p++ = '.'; return (p - buf) + sprintf (p, ".%0*d", frac_places, frac); } else |