aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index c758530e..b0b0d2a5 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -287,7 +287,7 @@ main (int argc, char **argv)
temp_list = temp_list->name_next;
}
- terminate (result, "DISK %s%s\n", state_text (result), output, details);
+ die (result, "DISK %s%s\n", state_text (result), output, details);
return STATE_UNKNOWN;
}
@@ -406,7 +406,7 @@ process_arguments (int argc, char **argv)
mult = (unsigned long)1024 * 1024 * 1024 * 1024;
units = "TB";
} else {
- terminate (STATE_UNKNOWN, _("unit type %s not known\n"), optarg);
+ die (STATE_UNKNOWN, _("unit type %s not known\n"), optarg);
}
break;
case 'k': /* display mountpoint */