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

@ -3,5 +3,5 @@
pid_t waitpid(pid_t pid, int *status, int options)
{
return syscall4(__NR_wait4, pid, (long)status, options, 0);
return syscall(SYS_wait4, pid, status, options, 0);
}