diff options
-rw-r--r-- | plugins/check_swap.d/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.d/swap.c b/plugins/check_swap.d/swap.c index 293fdd71..17c4f73b 100644 --- a/plugins/check_swap.d/swap.c +++ b/plugins/check_swap.d/swap.c | |||
@@ -99,7 +99,7 @@ swap_result getSwapFromProcMeminfo(char proc_meminfo[]) { | |||
99 | } else if (sscanf(input_buffer, | 99 | } else if (sscanf(input_buffer, |
100 | "%*[S]%*[w]%*[a]%*[p]%[TotalFreCchd]%*[:] %lu " | 100 | "%*[S]%*[w]%*[a]%*[p]%[TotalFreCchd]%*[:] %lu " |
101 | "%*[k]%*[B]", | 101 | "%*[k]%*[B]", |
102 | str, &tmp_KB)) { | 102 | str, &tmp_KB) == 2) { |
103 | 103 | ||
104 | if (verbose >= 3) { | 104 | if (verbose >= 3) { |
105 | printf("Got %s with %lu\n", str, tmp_KB); | 105 | printf("Got %s with %lu\n", str, tmp_KB); |