diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:24:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:24:11 +0000 |
commit | d6685a5c97ce71b163917bbafb3d6834a374aae4 (patch) | |
tree | 5fc3fa2b71c9cb26c623450c28937cc6b0ae3811 /usr.sbin/rip6query/rip6query.c | |
parent | cd18833f3dc056e8dce4614edaada4d1e9cadaf8 (diff) |
exit(-#) is wrong
Diffstat (limited to 'usr.sbin/rip6query/rip6query.c')
-rw-r--r-- | usr.sbin/rip6query/rip6query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rip6query/rip6query.c b/usr.sbin/rip6query/rip6query.c index 9859528549c..4d827d3ffda 100644 --- a/usr.sbin/rip6query/rip6query.c +++ b/usr.sbin/rip6query/rip6query.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rip6query.c,v 1.1 2000/01/19 08:13:01 itojun Exp $ */ +/* $OpenBSD: rip6query.c,v 1.2 2001/03/09 03:24:10 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -104,7 +104,7 @@ main(argc, argv) if (argc != 1) { usage(); - exit(-1); + exit(1); } if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { |