diff options
author | des <des@FreeBSD.org> | 2004-02-18 21:51:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-18 21:51:02 +0000 |
commit | bba9cb7afc65de9f739d64e16215dc0a80182d0c (patch) | |
tree | e9cefd0f69051fd2794709be6bf4a908ff2ca010 /usr.bin | |
parent | dbcd81038b99a0c459c491c81cd7254c9f227973 (diff) | |
download | FreeBSD-src-bba9cb7afc65de9f739d64e16215dc0a80182d0c.zip FreeBSD-src-bba9cb7afc65de9f739d64e16215dc0a80182d0c.tar.gz |
Use %zu for size_t, like God intended.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 43fa208..4eff618 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -157,7 +157,7 @@ stat_bytes(size_t bytes) bytes /= 1024; prefix++; } - snprintf(str, sizeof str, "%4ju %cB", (uintmax_t)bytes, *prefix); + snprintf(str, sizeof str, "%4zu %cB", bytes, *prefix); return (str); } |