diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/aio_sigqueue.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/aio_sigqueue.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/aio_sigqueue.c b/sysdeps/unix/sysv/linux/aio_sigqueue.c index 1520ee1a29..fc1187b443 100644 --- a/sysdeps/unix/sysv/linux/aio_sigqueue.c +++ b/sysdeps/unix/sysv/linux/aio_sigqueue.c @@ -41,13 +41,10 @@ __aio_sigqueue (sig, val) info.si_errno = 0; info.si_code = SI_ASYNCIO; - if (__libc_pid ==0xf00baa) - __libc_pid = __getpid (); - info.si_pid = __libc_pid; - + info.si_pid = getpid (); info.si_uid = getuid (); info.si_value = val; - return __syscall_rt_sigqueueinfo (__libc_pid, sig, &info); + return __syscall_rt_sigqueueinfo (info.si_pid, sig, &info); } |