summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-18 21:51:02 +0000
committerdes <des@FreeBSD.org>2004-02-18 21:51:02 +0000
commitbba9cb7afc65de9f739d64e16215dc0a80182d0c (patch)
treee9cefd0f69051fd2794709be6bf4a908ff2ca010 /usr.bin/fetch/fetch.c
parentdbcd81038b99a0c459c491c81cd7254c9f227973 (diff)
downloadFreeBSD-src-bba9cb7afc65de9f739d64e16215dc0a80182d0c.zip
FreeBSD-src-bba9cb7afc65de9f739d64e16215dc0a80182d0c.tar.gz
Use %zu for size_t, like God intended.
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-rw-r--r--usr.bin/fetch/fetch.c2
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);
}
OpenPOWER on IntegriCloud