Skip to content

Commit

Permalink
Update lib/vm/src/mmap.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary authored and theduke committed May 24, 2024
1 parent 63be15d commit 1480210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vm/src/mmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl Mmap {
return Ok(Self::new());
}

// If there is a backing file, reise the file so that its at least
// If there is a backing file, resize the file so that its at least
// `mapping_size` bytes.
if let Some(backing_file) = &mut backing_file {
let len = backing_file.metadata().map_err(|e| e.to_string())?.len() as usize;
Expand Down

0 comments on commit 1480210

Please sign in to comment.