projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
work around wrong kernel type for sem_nsems member of struct semid_ds
[musl]
/
src
/
stat
/
chmod.c
diff --git
a/src/stat/chmod.c
b/src/stat/chmod.c
index
cb310fe
..
beb66e5
100644
(file)
--- a/
src/stat/chmod.c
+++ b/
src/stat/chmod.c
@@
-3,5
+3,5
@@
int chmod(const char *path, mode_t mode)
{
- return syscall
2(__NR_chmod, (long)
path, mode);
+ return syscall
(SYS_chmod,
path, mode);
}