From d6685a5c97ce71b163917bbafb3d6834a374aae4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 9 Mar 2001 03:24:11 +0000 Subject: exit(-#) is wrong --- usr.sbin/map-mbone/mapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/map-mbone') 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; -- cgit v1.2.3