summaryrefslogtreecommitdiff
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-08-29 05:30:15 +0000
committerWarner Losh <imp@FreeBSD.org>1997-08-29 05:30:15 +0000
commit228f50a90c03088066d876b02657d89a13880757 (patch)
tree7bc1b95dcd0b73ab85415f25c2a49a5db206286c /usr.bin/ipcs
parent4a796f06acb443b965b3c5681305648088812d9c (diff)
Notes
Diffstat (limited to 'usr.bin/ipcs')
-rw-r--r--usr.bin/ipcs/ipcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c
index 505a81b01f96..e161ff668b21 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -27,7 +27,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: ipcs.c,v 1.6.2.1 1997/07/16 06:44:27 charnier Exp $";
#endif /* not lint */
#include <err.h>
@@ -138,7 +138,7 @@ main(argc, argv)
char *core = NULL, *namelist = NULL;
int i;
- while ((i = getopt(argc, argv, "MmQqSsabC:cN:optT")) != EOF)
+ while ((i = getopt(argc, argv, "MmQqSsabC:cN:optT")) != -1)
switch (i) {
case 'M':
display = SHMTOTAL;