musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/chroot.c')
-rw-r--r--src/linux/chroot.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/chroot.c b/src/linux/chroot.c
index 81363a6b..82b4fe75 100644
--- a/src/linux/chroot.c
+++ b/src/linux/chroot.c
@@ -3,5 +3,5 @@
int chroot(const char *path)
{
- return syscall1(__NR_chroot, (long)path);
+ return syscall(SYS_chroot, path);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月12日 16:42:55 +0000

AltStyle によって変換されたページ (->オリジナル) /