summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-11-23 11:47:34 +0000
committerru <ru@FreeBSD.org>2006-11-23 11:47:34 +0000
commit9a3577d01bad17990ef63564f8b9de42ed9dbe2d (patch)
treed2f3d7159fa13fad8ad93fe21a2f3f52bb3af8a9 /usr.bin/vmstat
parent5dd3e715ab7f9ca753d745367c25a8d250782fe0 (diff)
downloadFreeBSD-src-9a3577d01bad17990ef63564f8b9de42ed9dbe2d.zip
FreeBSD-src-9a3577d01bad17990ef63564f8b9de42ed9dbe2d.tar.gz
Oops, fix the format specifier to what was intended.
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 36be718..ef5ba8a 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -579,8 +579,7 @@ dovmstat(unsigned int interval, int reps)
total.t_rq - 1, total.t_dw + total.t_pw, total.t_sw);
#define vmstat_pgtok(a) ((uintmax_t)(a) * (sum.v_page_size >> 10))
#define rate(x) (((x) + halfuptime) / uptime) /* round */
- (void)printf(" %7zu %6zu ",
- vmstat_pgtok(total.t_avm),
+ (void)printf(" %7ju %6ju ", vmstat_pgtok(total.t_avm),
vmstat_pgtok(total.t_free));
(void)printf("%5lu ",
(unsigned long)rate(sum.v_vm_faults - osum.v_vm_faults));
OpenPOWER on IntegriCloud