* replaces deprecated elf_getshstrndx with elf_getshdrstrndx
@ 2009-12-29 4:40 Rakesh Pandit
[not found] ` <b401d2530912282040y1e967a4egd827cc9626da3f7c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Rakesh Pandit @ 2009-12-29 4:40 UTC (permalink / raw)
To: dwarves-u79uwXL29TY76Z2rM5mHXA
Removes irritating warning while compilation.
--
Rakesh Pandit
https://fedoraproject.org/wiki/User:Rakesh
freedom, friends, features, first
From 704b1b6710e3b9edfaa754ebfab1e5bc68d8781b Mon Sep 17 00:00:00 2001
From: Rakesh Pandit <rakesh-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org>
Date: Tue, 29 Dec 2009 09:55:24 +0530
Subject: [PATCH] libctf: Replaces deprecated elf_getshstrndx with
elf_getshdrstrndx
Signed-off-by: Rakesh Pandit <rakesh-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org>
---
libctf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libctf.c b/libctf.c
index 09b6fe2..447b7db 100644
--- a/libctf.c
+++ b/libctf.c
@@ -657,7 +657,7 @@ int ctf__encode(struct ctf *self, uint8_t flags)
GElf_Shdr *shdr;
Elf_Scn *scn = NULL;
- elf_getshstrndx(elf, &strndx);
+ elf_getshdrstrndx(elf, &strndx);
while ((scn = elf_nextscn(elf, scn)) != NULL) {
shdr = gelf_getshdr(scn, &shdr_mem);
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-29 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-29 4:40 replaces deprecated elf_getshstrndx with elf_getshdrstrndx Rakesh Pandit
[not found] ` <b401d2530912282040y1e967a4egd827cc9626da3f7c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-29 13:38 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.