Skip to content

Commit

Permalink
Merge pull request #983 from ajwerner/fix-variable-name
Browse files Browse the repository at this point in the history
aya::programs::uprobe: fix bad variable name
  • Loading branch information
dave-tucker authored Jul 11, 2024
2 parents b8a22fa + d413e2f commit d5414bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aya/src/programs/uprobe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ impl UProbe {
0
};

let fn_name = path.as_os_str();
attach(&mut self.data, self.kind, fn_name, sym_offset + offset, pid)
let path = path.as_os_str();
attach(&mut self.data, self.kind, path, sym_offset + offset, pid)
}

/// Detaches the program.
Expand Down

0 comments on commit d5414bf

Please sign in to comment.