mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTOSKRNL]
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT. svn path=/branches/ntvdm/; revision=63107
This commit is contained in:
parent
a31666e4e2
commit
de02e868fc
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ l_ReadHeaderFromFile:
|
|||
NTSTATUS ReturnedStatus = nStatus;
|
||||
|
||||
/* If it attempted to read past the end of the file, it means e_lfanew is invalid */
|
||||
if (ReturnedStatus == STATUS_END_OF_FILE) nStatus = STATUS_INVALID_IMAGE_FORMAT;
|
||||
if (ReturnedStatus == STATUS_END_OF_FILE) nStatus = STATUS_ROS_EXEFMT_UNKNOWN_FORMAT;
|
||||
|
||||
DIE(("ReadFile failed, status %08X\n", ReturnedStatus));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue