diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-13 10:45:31 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-13 10:45:31 -0400 |
| commit | b5350c2fda462792c5e79eaa5afe31ce86c05d81 (patch) | |
| tree | 4b7a799d0e10183319711b78938b8c1b2c37c647 /src | |
| parent | 8500ea906a6b99f0e4dbe41bceb7187c7fb7da8b (diff) | |
implement as syscall
Diffstat (limited to 'src')
| -rw-r--r-- | src/sys/stat/fstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/stat.h> +#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) |
