summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/nanosleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c
index 61dd85fc..cb1cfef7 100644
--- a/src/time/nanosleep.c
+++ b/src/time/nanosleep.c
@@ -1,8 +1,9 @@
#include <time.h>
+#include "../_syscall.h"
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
{
- return 0;
+ SYSCALL(nanosleep, int, -1, rqtp, rmtp, 0, 0, 0, 0);
}
/*