diff options
author | 2002-01-02 20:18:31 +0000 | |
---|---|---|
committer | 2002-01-02 20:18:31 +0000 | |
commit | e4490880928ebec64a98af4634f4dd52123841ac (patch) | |
tree | df3a5dcb3409fc2c874681c929871e5fe5eb5198 /lib/libc/stdio/mktemp.c | |
parent | master.passwd alias (diff) | |
download | wireguard-openbsd-e4490880928ebec64a98af4634f4dd52123841ac.tar.xz wireguard-openbsd-e4490880928ebec64a98af4634f4dd52123841ac.zip |
more pid_t use
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r-- | lib/libc/stdio/mktemp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c index a992e24f164..875c3ca2298 100644 --- a/lib/libc/stdio/mktemp.c +++ b/lib/libc/stdio/mktemp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mktemp.c,v 1.14 2002/01/02 20:18:32 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -101,7 +101,8 @@ _gettemp(path, doopen, domkdir, slen) { register char *start, *trv, *suffp; struct stat sbuf; - int pid, rval; + int rval; + pid_t pid; if (doopen && domkdir) { errno = EINVAL; |