diff --git a/src/main.rs b/src/main.rs index 2231a76..1246355 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,6 +47,7 @@ fn work(arg::Operation{output, inputs}: arg::Operation) -> Result<(), Box write!(f, "Failed to open file: {}", io), Self::Allocate(errno) => write!(f, "fallocate() failed with error {}: {}", errno, errno_str(*errno)), Self::Map(io) => write!(f, "mmap() failed: {}", io), - Self::Size{expected, got} => write!(f, "mapped file size mismatch: expected {}, got {}", expected, got), + Self::Size{expected, got} => write!(f, "mapped file size mismatch: expected at least {}, got {}", expected, got), } } }