summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
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 669a1cd..ab9f66f 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}