diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-07 11:51:12 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-07 11:51:12 +0000 |
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 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 */ |