From dd2461309f576f97d21e141691f44e5b39014a56 Mon Sep 17 00:00:00 2001 From: Robert Nordier Date: Thu, 5 Nov 1998 07:24:21 +0000 Subject: [PATCH] Add missing '\n'; remove redundant 'h' case in getopt switch. --- usr.bin/du/du.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 2dae19bd4761..0c806cfd7ca4 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -112,7 +112,7 @@ main(argc, argv) errno = 0; depth = atoi(optarg); if (errno == ERANGE || depth < 0) { - (void) fprintf(stderr, "Invalid argument to option d: %s", optarg); + (void) fprintf(stderr, "Invalid argument to option d: %s\n", optarg); usage(); } break; @@ -120,7 +120,6 @@ main(argc, argv) cflag = 1; break; case '?': - case 'h': default: usage(); }