diff options
author | bde <bde@FreeBSD.org> | 1998-08-02 14:41:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-02 14:41:34 +0000 |
commit | aaeb261fcc7eacef2d74ca1937e92075a2de6ff2 (patch) | |
tree | d8717cb573ed3440890858723efbbdc830a19047 /lib/libc/gen/getbsize.c | |
parent | 950c1ed8023331a60b69fddd35acb5f1dfbb39d8 (diff) | |
download | FreeBSD-src-aaeb261fcc7eacef2d74ca1937e92075a2de6ff2.zip FreeBSD-src-aaeb261fcc7eacef2d74ca1937e92075a2de6ff2.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'lib/libc/gen/getbsize.c')
-rw-r--r-- | lib/libc/gen/getbsize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getbsize.c b/lib/libc/gen/getbsize.c index a35ad72..6f951e7 100644 --- a/lib/libc/gen/getbsize.c +++ b/lib/libc/gen/getbsize.c @@ -99,7 +99,7 @@ underflow: warnx("minimum blocksize is 512"); } else blocksize = n = 512; - (void)snprintf(header, sizeof(header), "%d%s-blocks", n, form); + (void)snprintf(header, sizeof(header), "%ld%s-blocks", n, form); *headerlenp = strlen(header); *blocksizep = blocksize; return (header); |