summaryrefslogtreecommitdiff
path: root/so-test.c
diff options
context:
space:
mode:
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;