[XAM] Fix xeXMsgStartIORequestEx result check.
This commit is contained in:
parent
233ed107fe
commit
f4d60f3fc4
|
@ -63,7 +63,7 @@ X_HRESULT xeXMsgStartIORequestEx(uint32_t app, uint32_t message,
|
||||||
kernel_state()->CompleteOverlappedImmediate(overlapped_ptr, result);
|
kernel_state()->CompleteOverlappedImmediate(overlapped_ptr, result);
|
||||||
result = X_ERROR_IO_PENDING;
|
result = X_ERROR_IO_PENDING;
|
||||||
}
|
}
|
||||||
if (result == X_ERROR_SUCCESS || X_ERROR_IO_PENDING) {
|
if (result == X_ERROR_SUCCESS || result == X_ERROR_IO_PENDING) {
|
||||||
XThread::SetLastError(0);
|
XThread::SetLastError(0);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue