diff options
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index ce510e14..04256adf 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c @@ -350,7 +350,7 @@ main (int argc, char **argv) if(total_swap_mb) { percent_used = 100 * ((double) used_swap_mb) / ((double) total_swap_mb); } else { - percent_used = 0; + percent_used = 100; } result = max_state (result, check_swap (percent_used, free_swap_mb)); |