global cleanup to use the new syscall interface

This commit is contained in:
Rich Felker
2011-03-20 00:16:43 -04:00
parent be82e122bf
commit aa398f56fa
160 changed files with 180 additions and 238 deletions

View File

@ -6,7 +6,7 @@ int select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv)
{
int r;
CANCELPT_BEGIN;
r = syscall5(__NR_select, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
r = syscall(SYS_select, n, rfds, wfds, efds, tv);
CANCELPT_END;
return r;
}