Jan Beulich
2007-Feb-15 14:22 UTC
[Xen-devel] [PATCH] properly propagate error return value from elf_xen_parse()
Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2007-02-07/xen/arch/x86/domain_build.c ==================================================================--- 2007-02-07.orig/xen/arch/x86/domain_build.c 2007-02-07 16:27:53.000000000 +0100 +++ 2007-02-07/xen/arch/x86/domain_build.c 2007-02-09 14:00:41.000000000 +0100 @@ -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 */ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel