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/stat/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/chmod.c')
-rw-r--r--src/stat/chmod.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/chmod.c b/src/stat/chmod.c
index cb310fec..beb66e59 100644
--- a/src/stat/chmod.c
+++ b/src/stat/chmod.c
@@ -3,5 +3,5 @@
int chmod(const char *path, mode_t mode)
{
- return syscall2(__NR_chmod, (long)path, mode);
+ return syscall(SYS_chmod, path, mode);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月12日 18:46:30 +0000

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