Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/core/mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (s *splicedMemory) Add(min, max Address, perm Perm, f *os.File, off int64)
entry.max = min
add(entry)
case min <= entry.min && max <= entry.max:
// new region overwrites the begining of the entry.
// new region overwrites the beginning of the entry.
if !inserted {
add(&Mapping{min: min, max: max, perm: perm, f: f, off: off})
inserted = true
Expand Down