summaryrefslogtreecommitdiffstats
path: root/mbbsd/osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/osdep.c')
-rw-r--r--mbbsd/osdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/osdep.c b/mbbsd/osdep.c
index 73af3f85..4647d198 100644
--- a/mbbsd/osdep.c
+++ b/mbbsd/osdep.c
@@ -177,7 +177,7 @@ cpuload(char *str)
}
double
-swapused(long *total, long *used)
+swapused(int *total, long *used)
{
double percent = -1;
kvm_t *kd;
@@ -220,7 +220,7 @@ cpuload(char *str)
}
double
-swapused(long *total, long *used)
+swapused(int *total, long *used)
{
double percent = -1;
char buf[101];