Stop openbios-unix from crashing when auto-boot? is enabled.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@836 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-08-07 12:02:42 +00:00
committed by Mark Cave-Ayland
parent 3f121048da
commit c62d099b4b

View File

@@ -64,9 +64,13 @@ void
void
boot( void )
{
char *path=pop_fstr_copy();
char *path;
void *entry;
/* Copy the incoming path */
fword("2dup");
path = pop_fstr_copy();
if(!path) {
printk("[unix] Booting default not supported.\n");
return;