summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordima <dima@FreeBSD.org>1997-09-18 23:16:17 +0000
committerdima <dima@FreeBSD.org>1997-09-18 23:16:17 +0000
commitc0e4a7dc57122b110cb9767df9d214db3d0469dd (patch)
treeb72eb739dff2b2695332f6f57a845fc6955df388
parentdf61c66b402c930a7a79eae6061a8094c7c7d97c (diff)
downloadFreeBSD-src-c0e4a7dc57122b110cb9767df9d214db3d0469dd.zip
FreeBSD-src-c0e4a7dc57122b110cb9767df9d214db3d0469dd.tar.gz
Fix argument string for getopt.
Submitted by: dillon@best.net
-rw-r--r--usr.bin/fstat/fstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index d8244bf..1d99d98 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#endif
static const char rcsid[] =
- "$Id: fstat.c,v 1.12 1997/07/10 06:41:33 charnier Exp $";
+ "$Id: fstat.c,v 1.13 1997/08/31 01:27:04 alex Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -173,7 +173,7 @@ main(argc, argv)
arg = 0;
what = KERN_PROC_ALL;
nlistf = memf = NULL;
- while ((ch = getopt(argc, argv, "fnp:u:vNM")) != -1)
+ while ((ch = getopt(argc, argv, "fnp:u:vN:M:")) != -1)
switch((char)ch) {
case 'f':
fsflg = 1;
OpenPOWER on IntegriCloud