summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/stat/fstat.c4
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)