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

@ -14,5 +14,5 @@ int sigaltstack(const stack_t *ss, stack_t *old)
return -1;
}
}
return syscall2(__NR_sigaltstack, (long)ss, (long)old);
return syscall(SYS_sigaltstack, ss, old);
}