From 9eefc374c7d2c2e136c65050188750bf3fa91e3f Mon Sep 17 00:00:00 2001 From: rnordier Date: Tue, 5 May 1998 00:28:51 +0000 Subject: Replace _exit() with exit() Pointed out by: Nathan Torkington PR 5585 --- libexec/rshd/rshd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/rshd') 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, -- cgit v1.1