diff options
Diffstat (limited to 'utils/vmstat.c')
-rw-r--r-- | utils/vmstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/vmstat.c b/utils/vmstat.c index bdd1d812..684a5917 100644 --- a/utils/vmstat.c +++ b/utils/vmstat.c @@ -228,8 +228,8 @@ static val_t get_size (struct vm_state *state, const struct field *field) { return - (state->vmstats.free_count + state->vmstats.active_count - + state->vmstats.inactive_count + state->vmstats.wire_count) + ((val_t) (state->vmstats.free_count + state->vmstats.active_count + + state->vmstats.inactive_count + state->vmstats.wire_count)) * state->vmstats.pagesize; } |