fixed error checking in wxKill
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,7 +155,7 @@ int wxKill(long pid, wxSignal sig, wxKillError *rc)
|
||||
int err = kill((pid_t)pid, (int)sig);
|
||||
if ( rc )
|
||||
{
|
||||
switch ( err )
|
||||
switch ( errno )
|
||||
{
|
||||
case 0:
|
||||
*rc = wxKILL_OK;
|
||||
|
Reference in New Issue
Block a user