projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
posix_spawn: honor POSIX_SPAWN_SETSIGDEF flag
[oweals/musl.git]
/
src
/
dirent
/
__getdents.c
diff --git
a/src/dirent/__getdents.c
b/src/dirent/__getdents.c
index 4195430b636a3abec89ab8bd2917616a74095efe..1acd5a696aa66fa8dc51ce38086aa3f80d7e0bce 100644
(file)
--- a/
src/dirent/__getdents.c
+++ b/
src/dirent/__getdents.c
@@
-4,7
+4,7
@@
int __getdents(int fd, struct dirent *buf, size_t len)
{
- return syscall
3(__NR_getdents64, fd, (long)
buf, len);
+ return syscall
(SYS_getdents, fd,
buf, len);
}
weak_alias(__getdents, getdents);