diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-02-06 01:08:19 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-02-06 01:08:19 +0000 |
| commit | e5b9245bfa1b102f2c321698e357e7ff515fd637 (patch) | |
| tree | 53ba4eccae23b7ec9aae1e0bd830628f25e67d61 /lib/libc | |
| parent | a761a1ca607fb50bbf906f7924de43eebc55af13 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdio/tmpfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c index b38e0bca83b9..22d0eb1c5f0c 100644 --- a/lib/libc/stdio/tmpfile.c +++ b/lib/libc/stdio/tmpfile.c @@ -61,6 +61,7 @@ tmpfile() char *buf; const char *tmpdir; + tmpdir = NULL; if (issetugid() == 0) tmpdir = getenv("TMPDIR"); if (tmpdir == NULL) |
