X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Ftmpfile.c;h=926d6601d67e067d83bc07149ecd7dd8d4c00939;hp=18c232f7615d5e31463d367df29f01f40590fc93;hb=c8cb6bcdf009e94c12c6e256b8e24a9bc5fdaf05;hpb=b172dc8b58a5db37d61cb4718cd42628126710f1 diff --git a/src/stdio/tmpfile.c b/src/stdio/tmpfile.c index 18c232f7..926d6601 100644 --- a/src/stdio/tmpfile.c +++ b/src/stdio/tmpfile.c @@ -17,7 +17,7 @@ FILE *tmpfile(void) fd = syscall(SYS_open, s, O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600); if (fd >= 0) { f = __fdopen(fd, "w+"); - syscall(SYS_unlink, s); + __syscall(SYS_unlink, s); return f; } }