diff options
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r-- | openbsd-compat/mktemp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c index 9ed1bc80f..d69dc5c24 100644 --- a/openbsd-compat/mktemp.c +++ b/openbsd-compat/mktemp.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #ifndef HAVE_MKDTEMP | 39 | #ifndef HAVE_MKDTEMP |
40 | 40 | ||
41 | #if defined(LIBC_SCCS) && !defined(lint) | 41 | #if defined(LIBC_SCCS) && !defined(lint) |
42 | static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $"; | 42 | static char rcsid[] = "$OpenBSD: mktemp.c,v 1.14 2002/01/02 20:18:32 deraadt Exp $"; |
43 | #endif /* LIBC_SCCS and not lint */ | 43 | #endif /* LIBC_SCCS and not lint */ |
44 | 44 | ||
45 | #ifdef HAVE_CYGWIN | 45 | #ifdef HAVE_CYGWIN |
@@ -84,7 +84,8 @@ _gettemp(path, doopen, domkdir, slen) | |||
84 | { | 84 | { |
85 | register char *start, *trv, *suffp; | 85 | register char *start, *trv, *suffp; |
86 | struct stat sbuf; | 86 | struct stat sbuf; |
87 | int pid, rval; | 87 | int rval; |
88 | pid_t pid; | ||
88 | 89 | ||
89 | if (doopen && domkdir) { | 90 | if (doopen && domkdir) { |
90 | errno = EINVAL; | 91 | errno = EINVAL; |