about summary refs log tree commit diff
path: root/src/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd')
-rw-r--r--src/unistd/faccessat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c
index 6a88097d..5b2c5e30 100644
--- a/src/unistd/faccessat.c
+++ b/src/unistd/faccessat.c
@@ -19,7 +19,7 @@ static int checker(void *p)
 		__syscall(SYS_exit, 1);
 	ret = __syscall(SYS_faccessat, c->fd, c->filename, c->amode, 0);
 	__syscall(SYS_write, c->p, &ret, sizeof ret);
-	__syscall(SYS_exit, 0);
+	return 0;
 }
 
 int faccessat(int fd, const char *filename, int amode, int flag)