summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
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