Fixing stack args and error typo.

This commit is contained in:
Ben Vanik
2015-06-01 23:36:05 -07:00
parent f86f6ee79d
commit 862c322cbc
2 changed files with 9 additions and 5 deletions

View File

@@ -796,7 +796,7 @@ const error_lookup_table error_tables[] = {
dword_result_t RtlNtStatusToDosError(dword_t source_status) {
uint32_t status = source_status;
if (!status || (status & 0x20000000)) {
return status & 0xFFFF;
return status;
}
if ((status >> 16) == 0x8007) {