aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
commit1c8af8787354e20c2b38cab5801698133ff8b403 (patch)
tree678b7641c05ca5dc27c06cac1210b2a7712335a9 /usr.bin/ipcs
parent8d64695c7c6791641c71b15441665bafc43c2bd0 (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 b8fd2b98424f..28db9b0b3382 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -24,7 +24,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: ipcs.c,v 1.8 1997/02/22 19:55:18 peter Exp $
*/
#include <stdio.h>
@@ -135,7 +135,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;