server: Use tgkill to send signals on x86_64 too.

This commit is contained in:
Alexandre Julliard 2010-07-28 16:06:13 +02:00
parent c8861296b1
commit 10b6d6ba4d
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ static inline int tkill( int tgid, int pid, int sig )
ret = syscall(238 /*SYS_tkill*/, pid, sig); ret = syscall(238 /*SYS_tkill*/, pid, sig);
return ret; return ret;
# elif defined(__x86_64__) # elif defined(__x86_64__)
return syscall(200 /*SYS_tkill*/, pid, sig); return syscall(234 /*SYS_tgkill*/, tgid, pid, sig);
# else # else
errno = ENOSYS; errno = ENOSYS;
return -1; return -1;