summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 1a7011c0..9630071a 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -54,7 +54,7 @@ const char *email = "devel@monitoring-plugins.org";
54typedef struct { 54typedef struct {
55 bool is_percentage; 55 bool is_percentage;
56 uint64_t value; 56 uint64_t value;
57} threshold_t; 57} threshold;
58 58
59int check_swap (float free_swap_mb, float total_swap_mb); 59int check_swap (float free_swap_mb, float total_swap_mb);
60int process_arguments (int argc, char **argv); 60int process_arguments (int argc, char **argv);
@@ -62,8 +62,8 @@ int validate_arguments (void);
62void print_usage (void); 62void print_usage (void);
63void print_help (void); 63void print_help (void);
64 64
65threshold_t warn; 65threshold warn;
66threshold_t crit; 66threshold crit;
67int verbose; 67int verbose;
68bool allswaps = false; 68bool allswaps = false;
69int no_swap_state = STATE_CRITICAL; 69int no_swap_state = STATE_CRITICAL;