diff options
Diffstat (limited to 'src/unistd/getcwd.c')
-rw-r--r-- | src/unistd/getcwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getcwd.c b/src/unistd/getcwd.c index 4910f42c..b64b560f 100644 --- a/src/unistd/getcwd.c +++ b/src/unistd/getcwd.c @@ -4,5 +4,5 @@ char *getcwd(char *buf, size_t size) { - return syscall2(__NR_getcwd, (long)buf, size) < 0 ? NULL : buf; + return syscall(SYS_getcwd, buf, size) < 0 ? NULL : buf; } |