From 06f72c080f7cce812b39dd9a415a51bbc921ae31 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 5 Jan 2008 01:35:57 +0000 Subject: [PATCH] Fix a simple error in stage1.c (missing else). Signed-off-by: Ronald G. Minnich Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@548 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/stage1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/stage1.c b/arch/x86/stage1.c index 4a00643da1..b0b1c3c0e9 100644 --- a/arch/x86/stage1.c +++ b/arch/x86/stage1.c @@ -176,8 +176,8 @@ void __attribute__((stdcall)) stage1_main(u32 bist) entry = load_file_segments(&archive, "normal/payload"); if (entry != (void*)-1) run_address(entry); - - die("FATAL: No usable payload found.\n"); + else + die("FATAL: No usable payload found.\n"); die ("FATAL: Last stage returned to LinuxBIOS.\n"); }