about summary refs log tree commit diff
path: root/src/stdio/fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fopen.c')
-rw-r--r--src/stdio/fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c
index c2a350d1..469de6f0 100644
--- a/src/stdio/fopen.c
+++ b/src/stdio/fopen.c
@@ -27,7 +27,7 @@ FILE *fopen(const char *filename, const char *mode)
 	f = __fdopen(fd, mode);
 	if (f) return f;
 
-	syscall(SYS_close, fd);
+	__syscall(SYS_close, fd);
 	return 0;
 }