aboutsummaryrefslogtreecommitdiffstats
path: root/guts
diff options
context:
space:
mode:
Diffstat (limited to 'guts')
-rw-r--r--guts/tempnam.c2
-rw-r--r--guts/tmpnam.c2
2 files changed, 2 insertions, 2 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;
* }
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;
* }