global cleanup to use the new syscall interface

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

View file

@ -3,5 +3,5 @@
int chroot(const char *path)
{
return syscall1(__NR_chroot, (long)path);
return syscall(SYS_chroot, path);
}