summaryrefslogtreecommitdiffstats
path: root/libexec/rshd/rshd.c
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1998-05-05 00:28:51 +0000
committerrnordier <rnordier@FreeBSD.org>1998-05-05 00:28:51 +0000
commit9eefc374c7d2c2e136c65050188750bf3fa91e3f (patch)
treecc9e68d0a9ade10523ca44d84c2e2ed2e8a46104 /libexec/rshd/rshd.c
parent0539b2c31e0dc6ada9fdf431332a3b64922280bc (diff)
downloadFreeBSD-src-9eefc374c7d2c2e136c65050188750bf3fa91e3f.zip
FreeBSD-src-9eefc374c7d2c2e136c65050188750bf3fa91e3f.tar.gz
Replace _exit() with exit()
Pointed out by: Nathan Torkington <gnat@prometheus.frii.com> PR 5585
Diffstat (limited to 'libexec/rshd/rshd.c')
-rw-r--r--libexec/rshd/rshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index 52e9c52..da03189 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: rshd.c,v 1.20 1997/12/02 12:30:04 charnier Exp $";
#endif /* not lint */
/*
@@ -171,7 +171,7 @@ main(argc, argv)
fromlen = sizeof (from);
if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) {
syslog(LOG_ERR, "getpeername: %m");
- _exit(1);
+ exit(1);
}
if (keepalive &&
setsockopt(0, SOL_SOCKET, SO_KEEPALIVE, (char *)&on,
OpenPOWER on IntegriCloud