Commit e8e13d7f authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov

piegen: fix handle elf returned value

handle elf should return 0 on success.
Signed-off-by: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 46270d11
......@@ -488,7 +488,7 @@ int handle_elf(const piegen_opt_t *opts, void *mem, size_t size)
}
}
pr_out("};\n");
return 0;
err:
free(sec_hdrs);
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment