aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6bd1fac..08cf086 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -98,7 +98,7 @@ unsafe fn get_vdso_sym(
"No Versym entry for symbol with idx {} found",
idx
)))?
- .find_version(elf.verdef.as_ref(), elf.verneed.as_ref(), &elf.dynstrtab)
+ .find_version(&elf.verdef, &elf.verneed, &elf.dynstrtab)
.ok_or(Error::SymbolVersionError(format!(
"No symbol version string found for symbol with idx {}",
idx