Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kkent030315 committed Nov 2, 2024
1 parent fb17c99 commit e0f95c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pe/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ impl<'a> ResourceData<'a> {
let rva = dd.virtual_address as usize;
let offset = utils::find_offset(rva, sections, file_alignment, opts).ok_or_else(|| {
error::Error::Malformed(format!(
"Cannot map ImageDebugDirectory rva {:#x} into offset",
"Cannot map ImageResourceDirectory rva {:#x} into offset",
rva
))
})?;
Expand Down

0 comments on commit e0f95c1

Please sign in to comment.