summaryrefslogtreecommitdiff
path: root/swap.c
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-06-21 11:52:14 +0000
committerHelmut Grohne <helmut@subdivi.de>2008-06-21 11:52:14 +0000
commit35e2a045b7b87ecd7a4e5f27a6d3078479e3500b (patch)
tree551534458b740ed69f15c0bb478dae7a61cffe74 /swap.c
parent853f3d5052a36290a9732828d45684af49e5fea6 (diff)
downloadmunin-plugins-busybox-35e2a045b7b87ecd7a4e5f27a6d3078479e3500b.tar.gz
fix bug in swap.c
Diffstat (limited to 'swap.c')
-rw-r--r--swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swap.c b/swap.c
index fef6cc3..1a270fe 100644
--- a/swap.c
+++ b/swap.c
@@ -50,7 +50,7 @@ int swap(int argc, char **argv) {
}
}
fclose(f);
- if(!in*out) {
+ if(!(in*out)) {
fputs("no usable data on /proc/vmstat\n", stderr);
return 1;
}