diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-07 11:51:12 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-07 11:51:12 (GMT) |
commit | 9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 (patch) | |
tree | cb5831f4c018edc441686b2fe7715eb91de4ffee /plugins/check_disk.c | |
parent | 7f1bb2a782a008b55b0ef657ec01d7fbdb637fd4 (diff) | |
download | monitoring-plugins-9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709.tar.gz |
replace "terminate" with "die" for shorter name and better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index c758530..b0b0d2a 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -287,7 +287,7 @@ main (int argc, char **argv) | |||
287 | temp_list = temp_list->name_next; | 287 | temp_list = temp_list->name_next; |
288 | } | 288 | } |
289 | 289 | ||
290 | terminate (result, "DISK %s%s\n", state_text (result), output, details); | 290 | die (result, "DISK %s%s\n", state_text (result), output, details); |
291 | return STATE_UNKNOWN; | 291 | return STATE_UNKNOWN; |
292 | } | 292 | } |
293 | 293 | ||
@@ -406,7 +406,7 @@ process_arguments (int argc, char **argv) | |||
406 | mult = (unsigned long)1024 * 1024 * 1024 * 1024; | 406 | mult = (unsigned long)1024 * 1024 * 1024 * 1024; |
407 | units = "TB"; | 407 | units = "TB"; |
408 | } else { | 408 | } else { |
409 | terminate (STATE_UNKNOWN, _("unit type %s not known\n"), optarg); | 409 | die (STATE_UNKNOWN, _("unit type %s not known\n"), optarg); |
410 | } | 410 | } |
411 | break; | 411 | break; |
412 | case 'k': /* display mountpoint */ | 412 | case 'k': /* display mountpoint */ |