Fixed typo in return value of tkill().

This commit is contained in:
Alexandre Julliard 2003-05-07 03:22:22 +00:00
parent ce4d111cd8
commit 22824cb0c3

View file

@ -561,7 +561,7 @@ int tkill( int pid, int sig )
"popl %%ebx\n\t"
: "=a" (ret)
: "0" (238) /*SYS_tkill*/, "r" (pid), "c" (sig) );
if (ret > 0) return ret;
if (ret >= 0) return ret;
errno = -ret;
return -1;
#else