diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-10 09:37:53 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-10 09:37:53 +0000 |
commit | 2af61a79430e5883b90364af5c6bb01654c6e613 (patch) | |
tree | cbdb19c817a3c383017119ecfa1d0d1d045f8f9e /tools/regression/sockets/accept_fd_leak | |
parent | 592f72c3426258e5344776af5a272278b7a7347a (diff) | |
download | FreeBSD-src-2af61a79430e5883b90364af5c6bb01654c6e613.zip FreeBSD-src-2af61a79430e5883b90364af5c6bb01654c6e613.tar.gz |
Use _exit, not exit in forked process
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools/regression/sockets/accept_fd_leak')
-rw-r--r-- | tools/regression/sockets/accept_fd_leak/accept_fd_leak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c b/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c index f2d3c0b..659c22d 100644 --- a/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c +++ b/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c @@ -170,7 +170,7 @@ main(void) errx(-1, "connect: %s", strerror(errno)); close(s); } - exit(0); + _exit(0); } /* Reset back to a blocking socket. */ |