aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_overcr.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_overcr.c')
-rw-r--r--plugins/check_overcr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c
index 6682d8e6..fea87dae 100644
--- a/plugins/check_overcr.c
+++ b/plugins/check_overcr.c
@@ -85,7 +85,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- if (process_arguments (argc, argv) == ERROR)
+ if (process_arguments (argc, argv) != OK)
usage (_("check_overcr: could not parse arguments\n"));
/* initialize alarm signal handling */
@@ -180,7 +180,7 @@ main (int argc, char **argv)
/* error if we couldn't find the info for the disk */
if (found_disk == FALSE)
die (STATE_CRITICAL,
- "Error: Disk '%s' non-existent or not mounted",
+ "CRITICAL - Disk '%s' non-existent or not mounted",
disk_name);
if (check_critical_value == TRUE && (percent_used_disk_space >= critical_value))
@@ -339,7 +339,7 @@ process_arguments (int argc, char **argv)
print_help ();
exit (STATE_OK);
case 'V': /* version */
- print_revision (progname, "$Revision$");
+ print_revision (progname, revision);
exit (STATE_OK);
case 'H': /* hostname */
server_address = optarg;