summaryrefslogtreecommitdiff
path: root/so-test.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2017-11-24 22:22:25 -0800
committerMatt Turner <mattst88@gmail.com>2017-11-24 23:37:07 -0800
commitdc0cb6998dde6b74c24d991133f774b90e211a92 (patch)
tree5d3417517ab9edd661b6800788754f22f2b84aeb /so-test.c
parent58bc7b5b89d0a64b1b0b8fb340ffa5730a4b9dfc (diff)
Add "by_name" to function name
In preparation for adding a "by_symbol" equivalent.
Diffstat (limited to 'so-test.c')
-rw-r--r--so-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/so-test.c b/so-test.c
index fb24a4d..824191c 100644
--- a/so-test.c
+++ b/so-test.c
@@ -30,7 +30,8 @@
int
main(int argc, char *argv[])
{
- const struct build_id_note *note = build_id_find_nhdr("./libbuild-id.so");
+ const struct build_id_note *note =
+ build_id_find_nhdr_by_name("./libbuild-id.so");
if (!note)
return -1;