diff options
Diffstat (limited to 'userland/libc')
-rw-r--r-- | userland/libc/stdio/fscanf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/userland/libc/stdio/fscanf.c b/userland/libc/stdio/fscanf.c index 785ce4b..4af79f9 100644 --- a/userland/libc/stdio/fscanf.c +++ b/userland/libc/stdio/fscanf.c @@ -2,6 +2,9 @@ #include <assert.h> int fscanf(FILE *stream, const char *format, ...) { - // FIXME - assert(0); + va_list ap; + va_start(ap, format); + int rc = vfscanf(stream, format, ap); + va_end(ap); + return rc; } |