diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2017-11-23 19:06:44 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-11-23 19:06:44 +0000 |
| commit | d5589c6c60143bfa3dad78e4d6b0c50f7b639ff9 (patch) | |
| tree | 484bf0bfd91c7a1eb8eef7ed9fad0135dafefa63 /usr.bin/vmstat/vmstat.c | |
| parent | 521018d3797c6d14a1640a573cb43a96fa4a48c9 (diff) | |
Notes
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
| -rw-r--r-- | usr.bin/vmstat/vmstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 2c1e61203c2e..1591996c7802 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -665,7 +665,7 @@ getcpuinfo(u_long *maskp, int *maxidp) static void -prthuman(const char *name, u_int64_t val, int size) +prthuman(const char *name, uint64_t val, int size) { char buf[10]; int flags; @@ -822,10 +822,10 @@ dovmstat(unsigned int interval, int reps) if (hflag) { xo_emit(""); prthuman("available-memory", - total.t_avm * (u_int64_t)sum.v_page_size, 5); + total.t_avm * (uint64_t)sum.v_page_size, 5); xo_emit(" "); prthuman("free-memory", - total.t_free * (u_int64_t)sum.v_page_size, 5); + total.t_free * (uint64_t)sum.v_page_size, 5); xo_emit(" "); } else { xo_emit(" "); |
