diff options
Diffstat (limited to 'vm_control')
-rw-r--r-- | vm_control/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_control/src/lib.rs b/vm_control/src/lib.rs index dbcbece..0f39818 100644 --- a/vm_control/src/lib.rs +++ b/vm_control/src/lib.rs @@ -201,7 +201,7 @@ impl VmRequest { let mmap = match MemoryMapping::from_fd(fd, size) { Ok(v) => v, Err(MmapError::SystemCallFailed(e)) => return VmResponse::Err(e), - _ => return VmResponse::Err(SysError::new(-EINVAL)), + _ => return VmResponse::Err(SysError::new(EINVAL)), }; let pfn = *next_mem_pfn; let slot = |