summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-25 23:17:46 +0000
commite9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch)
tree91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_disk.c
parent71656b2aafffb69716620bf08cce76c925dc8fa3 (diff)
downloadmonitoring-plugins-e9ccc6b21a1152bbf150302c4a29a6df79d75bd7.tar.gz
various fixes for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 669a1cd6..ab9f66f8 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -438,9 +438,7 @@ process_arguments (int argc, char **argv)
438 print_help (); 438 print_help ();
439 exit (STATE_OK); 439 exit (STATE_OK);
440 case '?': /* help */ 440 case '?': /* help */
441 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 441 usage2 (_("Unknown argument"), optarg);
442 print_usage ();
443 exit (STATE_UNKNOWN);
444 } 442 }
445 } 443 }
446 444
@@ -488,7 +486,7 @@ print_path (const char *mypath)
488 if (mypath == NULL) 486 if (mypath == NULL)
489 printf ("\n"); 487 printf ("\n");
490 else 488 else
491 printf (" for %s\n", mypath); 489 printf (_(" for %s\n"), mypath);
492 490
493 return; 491 return;
494} 492}