diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-01-02 20:18:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-01-02 20:18:34 +0000 |
commit | e8b4b962a0edc31ed272e3ddbc58ceadbd5b2d45 (patch) | |
tree | cfbc29cdfa0d350b30e997f14f79ea79fa1e6a94 /lib/libc/net | |
parent | b54c0c644bb20582b30c1ddcf709457c189cd2b4 (diff) |
more pid_t use
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/rcmdsh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/net/rcmdsh.c b/lib/libc/net/rcmdsh.c index 93523a4c56c..5ce3ec0fef4 100644 --- a/lib/libc/net/rcmdsh.c +++ b/lib/libc/net/rcmdsh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcmdsh.c,v 1.5 1998/04/25 16:23:58 millert Exp $ */ +/* $OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $ */ /* * This is an rcmd() replacement originally by @@ -6,7 +6,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.5 1998/04/25 16:23:58 millert Exp $"; +static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -35,7 +35,8 @@ rcmdsh(ahost, rport, locuser, remuser, cmd, rshprog) char *rshprog; { struct hostent *hp; - int cpid, sp[2]; + int sp[2]; + pid_t cpid; char *p; struct passwd *pw; |