diff options
author | deraadt <> | 2002-01-02 20:18:32 +0000 |
---|---|---|
committer | deraadt <> | 2002-01-02 20:18:32 +0000 |
commit | 8f9092a45627e55a56f58b92805ee8452f54d8d2 (patch) | |
tree | b78ee646acc0077b48519d0a3e2387c25271c6f7 | |
parent | b846ad8dc7af50a533e10eb88c14b7ce9abf853a (diff) | |
download | openbsd-8f9092a45627e55a56f58b92805ee8452f54d8d2.tar.gz openbsd-8f9092a45627e55a56f58b92805ee8452f54d8d2.tar.bz2 openbsd-8f9092a45627e55a56f58b92805ee8452f54d8d2.zip |
more pid_t use
-rw-r--r-- | src/lib/libc/net/rcmdsh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/net/rcmdsh.c b/src/lib/libc/net/rcmdsh.c index 93523a4c56..5ce3ec0fef 100644 --- a/src/lib/libc/net/rcmdsh.c +++ b/src/lib/libc/net/rcmdsh.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rcmdsh.c,v 1.5 1998/04/25 16:23:58 millert Exp $ */ | 1 | /* $OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * This is an rcmd() replacement originally by | 4 | * This is an rcmd() replacement originally by |
@@ -6,7 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #if defined(LIBC_SCCS) && !defined(lint) | 8 | #if defined(LIBC_SCCS) && !defined(lint) |
9 | static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.5 1998/04/25 16:23:58 millert Exp $"; | 9 | static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $"; |
10 | #endif /* LIBC_SCCS and not lint */ | 10 | #endif /* LIBC_SCCS and not lint */ |
11 | 11 | ||
12 | #include <sys/types.h> | 12 | #include <sys/types.h> |
@@ -35,7 +35,8 @@ rcmdsh(ahost, rport, locuser, remuser, cmd, rshprog) | |||
35 | char *rshprog; | 35 | char *rshprog; |
36 | { | 36 | { |
37 | struct hostent *hp; | 37 | struct hostent *hp; |
38 | int cpid, sp[2]; | 38 | int sp[2]; |
39 | pid_t cpid; | ||
39 | char *p; | 40 | char *p; |
40 | struct passwd *pw; | 41 | struct passwd *pw; |
41 | 42 | ||