diff options
Diffstat (limited to 'libio/oldtmpfile.c')
-rw-r--r-- | libio/oldtmpfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c index 72437fea0f..40395bf9c2 100644 --- a/libio/oldtmpfile.c +++ b/libio/oldtmpfile.c @@ -43,7 +43,7 @@ __old_tmpfile (void) (void) remove (buf); if ((f = _IO_old_fdopen (fd, "w+b")) == NULL) - close (fd); + __close (fd); return f; } |