Fix use of an uninitialized pointer introduced in a previous revision.

Approved by:	markm (mentor)(implicit)
This commit is contained in:
mtm 2003-02-06 01:08:19 +00:00
parent d05abc47ec
commit 08478c5a34

View File

@ -61,6 +61,7 @@ tmpfile()
char *buf;
const char *tmpdir;
tmpdir = NULL;
if (issetugid() == 0)
tmpdir = getenv("TMPDIR");
if (tmpdir == NULL)