From 34b6ecb2f1d7940a0065cbabd6f9dcd439b4c841 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Mar 2011 00:37:50 +0000 Subject: [image] Simplify image management Refactor the {load,exec} image operations as {probe,exec}. This makes the probe mechanism cleaner, eliminates some forward declarations, avoids holding magic state in image->priv, eliminates the possibility of screwing up between the "load" and "exec" stages, and makes the documentation simpler since the concept of "loading" (as distinct from "executing") no longer needs to be explained. Signed-off-by: Michael Brown --- src/arch/i386/interface/syslinux/comboot_call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/i386/interface/syslinux') diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c index 950832702..1dbc830fd 100644 --- a/src/arch/i386/interface/syslinux/comboot_call.c +++ b/src/arch/i386/interface/syslinux/comboot_call.c @@ -217,7 +217,7 @@ static int comboot_fetch_kernel ( char *kernel_file, char *cmdline ) { goto out; } if ( ( rc = imgfetch ( kernel, kernel_file, - register_image ) ) != 0 ) { + register_and_select_image ) ) != 0 ) { DBG ( "COMBOOT: could not fetch kernel: %s\n", strerror ( rc ) ); goto out; -- cgit v1.2.3-55-g7522