diff options
author | ru <ru@FreeBSD.org> | 2006-11-23 11:51:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-11-23 11:51:23 +0000 |
commit | 75d7b09c83861e14ce15d3c488d180f094455382 (patch) | |
tree | e3992911ed4b7c8cf311cb29ab887c418e1035d4 /usr.bin | |
parent | 9a3577d01bad17990ef63564f8b9de42ed9dbe2d (diff) | |
download | FreeBSD-src-75d7b09c83861e14ce15d3c488d180f094455382.zip FreeBSD-src-75d7b09c83861e14ce15d3c488d180f094455382.tar.gz |
Fix the format specifier suitable for uintmax_t.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/vmstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 99ecc17..4aac01c 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -747,11 +747,11 @@ putuintmax(n, l, lc, w) addch(' '); return; } - snr = snprintf(b, sizeof(b), "%*zu", w, n); + snr = snprintf(b, sizeof(b), "%*ju", w, n); if (snr != w) - snr = snprintf(b, sizeof(b), "%*zuk", w - 1, n / 1000); + snr = snprintf(b, sizeof(b), "%*juk", w - 1, n / 1000); if (snr != w) - snr = snprintf(b, sizeof(b), "%*zuM", w - 1, n / 1000000); + snr = snprintf(b, sizeof(b), "%*juM", w - 1, n / 1000000); if (snr != w) { while (w-- > 0) addch('*'); |