summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e4c885)
raw | patch | inline | side by side (parent: 8e4c885)
author | Ton Voon <tonvoon@macbook-2.local> | |
Thu, 7 May 2009 21:28:56 +0000 (22:28 +0100) | ||
committer | Ton Voon <tonvoon@macbook-2.local> | |
Thu, 7 May 2009 21:28:56 +0000 (22:28 +0100) |
NEWS | patch | blob | history | |
THANKS.in | patch | blob | history | |
plugins/check_disk.c | patch | blob | history |
index 932b21746968c470348a7d0133b073c6b8710c8d..c5b591a92f9256a8ac04c342bfaa99c7b58c07c7 100644 (file)
--- a/NEWS
+++ b/NEWS
negate timeout result is now configurable
Fixed segfault in check_mysql with old slaves (#2696823 - Oskar Ahner)
check_nt can return UNKNOWN on timeouts (-u)
+ Fixed typos for check_disk (Chris Pepper)
1.4.13 25th Sept 2008
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
diff --git a/THANKS.in b/THANKS.in
index 30bf06c2492e013f0a259a8fe3491d21b7319aa6..5417f66cdab0f55b1fd33c7e46da5fce21ff2b7c 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Richard Edward Horner
John Barbuto
Oskar Ahner
+Chris Pepper
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 98a061fbe614e63a93e5d28a12b41467cb8cda9a..5c0eec592615e413f518e6b71bc3ccce39fa6d1e 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
break;
case 'E':
if (path_selected)
- die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting pathes\n"));
+ die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting paths\n"));
exact_match = TRUE;
break;
case 'g':
if (path_selected)
- die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting pathes \n"));
+ die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting paths\n"));
group = optarg;
break;
case 'I':
cflags |= REG_ICASE;
case 'i':
if (!path_selected)
- die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Pathes need to be selected before using -i/-I. Use -A to select all pathes explicitly"));
+ die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Paths need to be selected before using -i/-I. Use -A to select all paths explicitly"));
err = regcomp(&re, optarg, cflags);
if (err != 0) {
regerror (err, &re, errbuf, MAX_INPUT_BUFFER);
printf (" %s\n", "-e, --errors-only");
printf (" %s\n", _("Display only devices/mountpoints with errors"));
printf (" %s\n", "-g, --group=NAME");
- printf (" %s\n", _("Group pathes. Thresholds apply to (free-)space of all partitions together"));
+ printf (" %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));
printf (" %s\n", "-k, --kilobytes");
printf (" %s\n", _("Same as '--units kB'"));
printf (" %s\n", "-l, --local");
printf (" %s\n", "-m, --megabytes");
printf (" %s\n", _("Same as '--units MB'"));
printf (" %s\n", "-A, --all");
- printf (" %s\n", _("Explicitly select all pathes. This is equivalent to -R '.*'"));
+ printf (" %s\n", _("Explicitly select all paths. This is equivalent to -R '.*'"));
printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION");
printf (" %s\n", _("Case insensitive regular expression for path/partition (may be repeated)"));
printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION");