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