From 430d093a6fcb98b7045d861a92e71be8868cc460 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 7 May 2009 22:28:56 +0100 Subject: Fixed typo in check_disk diff --git a/NEWS b/NEWS index 932b217..c5b591a 100644 --- a/NEWS +++ b/NEWS @@ -31,6 +31,7 @@ This file documents the major additions and syntax changes between releases. 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 30bf06c..5417f66 100644 --- a/THANKS.in +++ b/THANKS.in @@ -249,3 +249,4 @@ Olli Hauer Richard Edward Horner John Barbuto Oskar Ahner +Chris Pepper diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 98a061f..5c0eec5 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -661,19 +661,19 @@ process_arguments (int argc, char **argv) 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); @@ -930,7 +930,7 @@ print_help (void) 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"); @@ -943,7 +943,7 @@ print_help (void) 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"); -- cgit v0.10-9-g596f