Rémi Bernon (@rbernon) commented about dlls/ntdll/unix/sync.c:
- struct ntsync_mutex_args args = {0};
- NTSTATUS ret;
- ret = ioctl( obj, NTSYNC_IOC_MUTEX_READ, &args );
- if (ret < 0)
- {
if (errno == EOWNERDEAD)
{
info->AbandonedState = TRUE;
info->OwnedByCaller = FALSE;
info->CurrentCount = 1;
return STATUS_SUCCESS;
}
else
return errno_to_status( errno );
```suggestion:-2+0 } return errno_to_status( errno ); ```