about summary refs log tree commit diff
path: root/src/unistd/lchown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/lchown.c')
-rw-r--r--src/unistd/lchown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/lchown.c b/src/unistd/lchown.c
index a8402132..de871aeb 100644
--- a/src/unistd/lchown.c
+++ b/src/unistd/lchown.c
@@ -3,5 +3,5 @@
 
 int lchown(const char *path, uid_t uid, gid_t gid)
 {
-	return syscall3(__NR_lchown, (long)path, uid, gid);
+	return syscall(SYS_lchown, path, uid, gid);
 }