consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
This commit is contained in:
parent
b2486a8922
commit
c2cd25bff8
38 changed files with 40 additions and 40 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
int semget(key_t key, int n, int fl)
|
||||
{
|
||||
#ifdef __NR_semget
|
||||
#ifdef SYS_semget
|
||||
return syscall(SYS_semget, key, n, fl);
|
||||
#else
|
||||
return syscall(SYS_ipc, IPCOP_semget, key, n, fl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue