cleanup src/linux and src/misc trees, etc.
[musl] / src / dirent / __getdents.c
index 4195430..1acd5a6 100644 (file)
@@ -4,7 +4,7 @@
 
 int __getdents(int fd, struct dirent *buf, size_t len)
 {
-       return syscall3(__NR_getdents64, fd, (long)buf, len);
+       return syscall(SYS_getdents, fd, buf, len);
 }
 
 weak_alias(__getdents, getdents);