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

@ -4,5 +4,5 @@
pid_t vfork(void)
{
/* vfork syscall cannot be made from C code */
return syscall0(__NR_fork);
return syscall(SYS_fork);
}