summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-04-16 02:19:56 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-04-16 02:19:56 +0000
commitd07a4594e1fd5b3cd7ceba5aae02135980226161 (patch)
tree67f3c396023071e76ffab66a920bef64187d6992 /bin
parent9b54095b17bc5a91bb80586c7be18a4da9e08bf5 (diff)
correct getopt
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 332b55019c5..d2e3cc80d78 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ps.c,v 1.12 1999/06/21 20:47:59 art Exp $ */
+/* $OpenBSD: ps.c,v 1.13 2000/04/16 02:19:55 ericj Exp $ */
/* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: ps.c,v 1.12 1999/06/21 20:47:59 art Exp $";
+static char rcsid[] = "$OpenBSD: ps.c,v 1.13 2000/04/16 02:19:55 ericj Exp $";
#endif
#endif /* not lint */
@@ -136,7 +136,7 @@ main(argc, argv)
ttydev = NODEV;
memf = nlistf = swapf = NULL;
while ((ch = getopt(argc, argv,
- "acCeghjLlM:mN:O:o:p:rSTt:U:uvW:wx")) != EOF)
+ "acCeghjLlM:mN:O:o:p:rSTt:U:uvW:wx")) != -1)
switch((char)ch) {
case 'a':
all = 1;