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/map-mbone | |
parent | cd18833f3dc056e8dce4614edaada4d1e9cadaf8 (diff) |
exit(-#) is wrong
Diffstat (limited to 'usr.sbin/map-mbone')
-rw-r--r-- | usr.sbin/map-mbone/mapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/map-mbone/mapper.c b/usr.sbin/map-mbone/mapper.c index 43134c69671..f99c70fb60d 100644 --- a/usr.sbin/map-mbone/mapper.c +++ b/usr.sbin/map-mbone/mapper.c @@ -199,7 +199,7 @@ log(severity, syserr, format, va_alist) } if (severity <= LOG_ERR) - exit(-1); + exit(1); } @@ -917,7 +917,7 @@ int main(argc, argv) || connect(udp, (struct sockaddr *) &addr, sizeof(addr)) < 0 || getsockname(udp, (struct sockaddr *) &addr, &addrlen) < 0) { perror("Determining local address"); - exit(-1); + exit(1); } close(udp); our_addr = addr.sin_addr.s_addr; |