diff options
Diffstat (limited to 'src/aio/aio_readwrite.c')
-rw-r--r-- | src/aio/aio_readwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio/aio_readwrite.c b/src/aio/aio_readwrite.c index 0de3d4fb..22782265 100644 --- a/src/aio/aio_readwrite.c +++ b/src/aio/aio_readwrite.c @@ -17,7 +17,7 @@ static void notify_signal(struct sigevent *sev) .si_signo = sev->sigev_signo, .si_value = sev->sigev_value, .si_code = SI_ASYNCIO, - .si_pid = __pthread_self()->pid, + .si_pid = getpid(), .si_uid = getuid() }; __syscall(SYS_rt_sigqueueinfo, si.si_pid, si.si_signo, &si); |