summaryrefslogtreecommitdiff
path: root/usr.sbin/map-mbone
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/map-mbone')
-rw-r--r--usr.sbin/map-mbone/mapper.c4
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;