summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_users.c')
-rw-r--r--plugins/check_users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 2a9ee98..7cf7a2c 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -179,7 +179,7 @@ main (int argc, char **argv)
179 printf (_("USERS %s - %d users currently logged in |%s\n"), 179 printf (_("USERS %s - %d users currently logged in |%s\n"),
180 state_text(result), users, 180 state_text(result), users,
181 sperfdata_int("users", users, "", warning_range, 181 sperfdata_int("users", users, "", warning_range,
182 critical_range, TRUE, 0, FALSE, 0)); 182 critical_range, true, 0, false, 0));
183 } 183 }
184 184
185 return result; 185 return result;
@@ -202,7 +202,7 @@ process_arguments (int argc, char **argv)
202 if (argc < 2) 202 if (argc < 2)
203 usage ("\n"); 203 usage ("\n");
204 204
205 while (1) { 205 while (true) {
206 c = getopt_long (argc, argv, "+hVvc:w:", longopts, &option); 206 c = getopt_long (argc, argv, "+hVvc:w:", longopts, &option);
207 207
208 if (c == -1 || c == EOF || c == 1) 208 if (c == -1 || c == EOF || c == 1)