VM: fix returning VFS error code for mmap
Change-Id: Ifcaa15fb8277be53515eb18c4f86a306c52d91d6
This commit is contained in:
parent
1f945e8080
commit
cb3a6387c8
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static void mmap_file_cont(struct vmproc *vmp, message *replymsg, void *cbarg,
|
|||
printf("VM: VFS reply failed (%d)\n", replymsg->VMV_RESULT);
|
||||
sys_diagctl_stacktrace(vmp->vm_endpoint);
|
||||
#endif
|
||||
result = origmsg->VMV_RESULT;
|
||||
result = replymsg->VMV_RESULT;
|
||||
} else {
|
||||
/* Finish mmap */
|
||||
result = mmap_file(vmp, replymsg->VMV_FD, origmsg->m_mmap.offset,
|
||||
|
|
Loading…
Reference in a new issue