aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-02-18 21:51:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-02-18 21:51:02 +0000
commit5476ba554519526a1f22b046a625c7a58a5431b5 (patch)
treee9cefd0f69051fd2794709be6bf4a908ff2ca010 /usr.bin
parenteae1afd9a298f710112f0846da2a5fd421ee01da (diff)
downloadsrc-5476ba554519526a1f22b046a625c7a58a5431b5.tar.gz
src-5476ba554519526a1f22b046a625c7a58a5431b5.zip
Use %zu for size_t, like God intended.
Notes
Notes: svn path=/head/; revision=125977
Diffstat (limited to 'usr.bin')
-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 43fa2086c308..4eff6189171e 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);
}