mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
fix bug in swap.c
This commit is contained in:
parent
bede1947b2
commit
2f167d679f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ int swap(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
if(!in*out) {
|
if(!(in*out)) {
|
||||||
fputs("no usable data on /proc/vmstat\n", stderr);
|
fputs("no usable data on /proc/vmstat\n", stderr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue