Skip to contentSkip to conversation

properly propagate error return value from elf_xen_parse()

PATCH New Jan Beulich 1 participant 1 message Feb 15, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 properly propagate error return value from elf_xen_parse()

xen/arch/x86/domain_build.c +1 -1
Index: 2007-02-07/xen/arch/x86/domain_build.c
===================================================================
@@ -268,7 +268,7 @@ int construct_dom0(struct domain *d,
     elf_set_verbose(&elf);
 #endif
     elf_parse_binary(&elf);
-    if (0 != (elf_xen_parse(&elf, &parms)))
+    if (0 != (rc = elf_xen_parse(&elf, &parms)))
         return rc;
 
     /* compatibility check */