summaryrefslogtreecommitdiff
path: root/libelf/elf_strptr.c
diff options
context:
space:
mode:
authorWez Furlong <wez@messagesystems.com>2012-03-24 11:38:02 -0400
committerWez Furlong <wez@messagesystems.com>2012-03-24 11:38:02 -0400
commit08eb167b40d66da3b4a3a21351a8ed5b99fc3a83 (patch)
tree1e0461bb581838f2a9b982651a92b6ed82991aca /libelf/elf_strptr.c
parent360c8b9c5c6424c753131c7253da393fa6aab71f (diff)
downloadctf-08eb167b40d66da3b4a3a21351a8ed5b99fc3a83.tar.gz
always build our libelf, as our libdwarf doesn't get along with the
system libelf on linux
Diffstat (limited to 'libelf/elf_strptr.c')
-rw-r--r--libelf/elf_strptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_strptr.c b/libelf/elf_strptr.c
index e2ac7c6..586372f 100644
--- a/libelf/elf_strptr.c
+++ b/libelf/elf_strptr.c
@@ -100,7 +100,7 @@ elf_strptr(Elf *e, size_t scndx, size_t offset)
LIBELF_SET_ERROR(DATA, 0);
return (NULL);
}
- count = roundup2(count, alignment);
+ count = ROUNDUP2(count, alignment);
}
if (offset < count) {