Skip to content

Commit

Permalink
fix typos (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
demoray authored Jan 13, 2023
1 parent 877afb2 commit bc4ab64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fn can_open(src: &Path) -> bool {
OpenOptions::new().read(true).open(src).is_ok()
}

// The file /proc/kcore is a psuedo-file in ELF core format that is 4KB+physical
// The file /proc/kcore is a pseudo-file in ELF core format that is 4KB+physical
// memory in size.
//
// If LOCKDOWN_KCORE is set in the kernel, then /proc/kcore may exist but is
Expand Down Expand Up @@ -192,7 +192,7 @@ impl<'a, 'b> Snapshot<'a, 'b> {
}

// given a set of ranges from iomem and a set of Blocks derived from the
// psuedo-elf phys section headers, derive a set of ranges that can be used
// pseudo-elf phys section headers, derive a set of ranges that can be used
// to create a snapshot.
fn find_kcore_blocks(ranges: &[Range<u64>], headers: &[Block]) -> Vec<Block> {
let mut result = vec![];
Expand Down

0 comments on commit bc4ab64

Please sign in to comment.