From b5350c2fda462792c5e79eaa5afe31ce86c05d81 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 13 Aug 2020 10:45:31 -0400 Subject: implement as syscall --- src/sys/stat/fstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sys/stat/fstat.c b/src/sys/stat/fstat.c index bdd9f574..c0276eda 100644 --- a/src/sys/stat/fstat.c +++ b/src/sys/stat/fstat.c @@ -1,10 +1,10 @@ #include "sys/types.h" #include +#include "../../_syscall.h" int fstat(int fildes, struct stat *buf) { - (void)fildes; (void)buf; - return 0; + SYSCALL(fstat, int, -1, fildes, buf, 0, 0, 0, 0); } /* POSIX(1) -- cgit v1.2.1