summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-27 23:07:25 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-27 23:07:25 +0000
commit9233c4d9426e03b28e043baeefb6d5a37dc4086e (patch)
tree8606358bf2ae9c436cce380d290e7a73f9cddfc6 /lib/libc/stdio/tmpfile.c
parent072229cdbb757229b7e11f102da326679db27d0e (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
-rw-r--r--lib/libc/stdio/tmpfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c
index d4beac6be13f9..a0162c24f1535 100644
--- a/lib/libc/stdio/tmpfile.c
+++ b/lib/libc/stdio/tmpfile.c
@@ -74,7 +74,7 @@ tmpfile()
if ((fp = fdopen(fd, "w+")) == NULL) {
sverrno = errno;
- (void)_libc_close(fd);
+ (void)_close(fd);
errno = sverrno;
return (NULL);
}