aboutsummaryrefslogtreecommitdiffstats
path: root/usr/klibc/stdio/fclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/stdio/fclose.c')
-rw-r--r--usr/klibc/stdio/fclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/klibc/stdio/fclose.c b/usr/klibc/stdio/fclose.c
index 756de4329d777..e4b5c6aeb150c 100644
--- a/usr/klibc/stdio/fclose.c
+++ b/usr/klibc/stdio/fclose.c
@@ -11,7 +11,7 @@ int fclose(FILE *file)
fflush(file);
- rv = close(f->pub._IO_fileno);
+ rv = f->funcs.close(f->cookie);
/* Remove from linked list */
f->next->prev = f->prev;