aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/libelf
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-14 12:37:13 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-14 12:37:13 +0000
commit56d4085f507c1e75dff9b0e81ad34cf607d216a1 (patch)
treebb63030bfc71348b07eb9451abd591157b8f7565 /xen/common/libelf
parentb3fa47dbc82442b632ef45db863eb015039046b0 (diff)
downloadxen-56d4085f507c1e75dff9b0e81ad34cf607d216a1.tar.gz
xen-56d4085f507c1e75dff9b0e81ad34cf607d216a1.tar.bz2
xen-56d4085f507c1e75dff9b0e81ad34cf607d216a1.zip
Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Diffstat (limited to 'xen/common/libelf')
-rw-r--r--xen/common/libelf/libelf-dominfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/libelf/libelf-dominfo.c b/xen/common/libelf/libelf-dominfo.c
index 9d45b8ae21..e3fee4552a 100644
--- a/xen/common/libelf/libelf-dominfo.c
+++ b/xen/common/libelf/libelf-dominfo.c
@@ -107,9 +107,9 @@ int elf_xen_parse_note(struct elf_binary *elf,
if ((type >= sizeof(note_desc) / sizeof(note_desc[0])) ||
(NULL == note_desc[type].name))
{
- elf_err(elf, "%s: unknown xen elf note (0x%x)\n",
+ elf_msg(elf, "%s: unknown xen elf note (0x%x)\n",
__FUNCTION__, type);
- return -1;
+ return 0;
}
if (note_desc[type].str)