From: Jim Meyering Date: Sun, 20 Mar 2005 19:53:30 +0000 (+0000) Subject: (init_header): Use zero-filled `.%09d' format, not space-filled `.%9d'. X-Git-Tag: CPPI-1_12~1257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2168f7c7a110650d298f6d81833c1b6a64b80e9a;p=thirdparty%2Fcoreutils.git (init_header): Use zero-filled `.%09d' format, not space-filled `.%9d'. --- diff --git a/src/pr.c b/src/pr.c index 8d60a7f9ac..9cae999018 100644 --- a/src/pr.c +++ b/src/pr.c @@ -1693,7 +1693,7 @@ init_header (char *filename, int desc) { buf = xmalloc (INT_BUFSIZE_BOUND (long int) + MAX (10, INT_BUFSIZE_BOUND (int))); - sprintf (buf, "%ld.%9d", (long int) s, ns); + sprintf (buf, "%ld.%09d", (long int) s, ns); } else {