diff options
| author | Max Laier <mlaier@FreeBSD.org> | 2005-12-11 21:37:42 +0000 |
|---|---|---|
| committer | Max Laier <mlaier@FreeBSD.org> | 2005-12-11 21:37:42 +0000 |
| commit | 2694019753ab64ef9bd910886d932c9222ffeb59 (patch) | |
| tree | b161c6c2b1a29ade5dca06155da5d42a55c1dcda | |
| parent | 17e41731b79f6a2652a6f3946a0c97a7eced6cf7 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 885423358f6b..b1d0f8ab7cd0 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -144,8 +144,8 @@ linprocfs_domeminfo(PFS_FILL_ARGS) memused = cnt.v_wire_count * PAGE_SIZE; memfree = memtotal - memused; swap_pager_status(&i, &j); - swaptotal = i * PAGE_SIZE; - swapused = j * PAGE_SIZE; + swaptotal = (unsigned long long)i * PAGE_SIZE; + swapused = (unsigned long long)j * PAGE_SIZE; swapfree = swaptotal - swapused; memshared = 0; mtx_lock(&vm_object_list_mtx); |
