global cleanup to use the new syscall interface
This commit is contained in:
parent
be82e122bf
commit
aa398f56fa
160 changed files with 180 additions and 238 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
int __getdents(int fd, struct dirent *buf, size_t len)
|
||||
{
|
||||
return syscall3(__NR_getdents, fd, (long)buf, len);
|
||||
return syscall(SYS_getdents, fd, buf, len);
|
||||
}
|
||||
|
||||
weak_alias(__getdents, getdents);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue