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 3067f85..6e2ab72 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
@@ -56,10 +56,10 @@ main (int argc, char **argv) | |||
56 | int result = STATE_UNKNOWN; | 56 | int result = STATE_UNKNOWN; |
57 | char input_buffer[MAX_INPUT_BUFFER]; | 57 | char input_buffer[MAX_INPUT_BUFFER]; |
58 | char *perf; | 58 | char *perf; |
59 | int conv_factor = SWAP_CONVERSION; | ||
60 | #ifdef HAVE_PROC_MEMINFO | 59 | #ifdef HAVE_PROC_MEMINFO |
61 | FILE *fp; | 60 | FILE *fp; |
62 | #else | 61 | #else |
62 | int conv_factor = SWAP_CONVERSION; | ||
63 | # ifdef HAVE_SWAP | 63 | # ifdef HAVE_SWAP |
64 | char *temp_buffer; | 64 | char *temp_buffer; |
65 | char *swap_command; | 65 | char *swap_command; |