Fixed typo in return value of tkill().
This commit is contained in:
parent
ce4d111cd8
commit
22824cb0c3
|
@ -561,7 +561,7 @@ int tkill( int pid, int sig )
|
||||||
"popl %%ebx\n\t"
|
"popl %%ebx\n\t"
|
||||||
: "=a" (ret)
|
: "=a" (ret)
|
||||||
: "0" (238) /*SYS_tkill*/, "r" (pid), "c" (sig) );
|
: "0" (238) /*SYS_tkill*/, "r" (pid), "c" (sig) );
|
||||||
if (ret > 0) return ret;
|
if (ret >= 0) return ret;
|
||||||
errno = -ret;
|
errno = -ret;
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue