From 8082a458ec3e032bde9a3856204ef4276b5498bf Mon Sep 17 00:00:00 2001 From: mhitch Date: Sun, 5 May 1996 19:12:03 +0000 Subject: [PATCH] Change -N and -M option string to specify the options have an argument. Fixes PR#2374. --- usr.bin/fstat/fstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 8fff4fa74219..5acc45819961 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)fstat.c 8.3 (Berkeley) 5/2/95;*/ -static char *rcsid = "$Id: fstat.c,v 1.15 1996/02/20 16:04:47 fvdl Exp $"; +static char *rcsid = "$Id: fstat.c,v 1.16 1996/05/05 19:12:03 mhitch Exp $"; #endif /* not lint */ #include @@ -162,7 +162,7 @@ main(argc, argv) arg = 0; what = KERN_PROC_ALL; nlistf = memf = NULL; - while ((ch = getopt(argc, argv, "fnp:u:vNM")) != EOF) + while ((ch = getopt(argc, argv, "fnp:u:vN:M:")) != EOF) switch((char)ch) { case 'f': fsflg = 1;