aboutsummaryrefslogtreecommitdiffstats
path: root/guts/tmpnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/tmpnam.c')
-rw-r--r--guts/tmpnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/guts/tmpnam.c b/guts/tmpnam.c
index 3e1aab2..d854719 100644
--- a/guts/tmpnam.c
+++ b/guts/tmpnam.c
@@ -6,7 +6,7 @@
pseudo_diag("tmpnam() is so ludicrously insecure as to defy implementation.");
errno = ENOMEM;
- rc = 0;
+ rc = NULL;
/* return rc;
* }