Fix regression in kfreebsd-i386

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-18 12:45:28 +01:00
parent 6b9e2c181f
commit 5756bfe137

View file

@ -705,7 +705,7 @@ grub_freebsd_boot (void)
grub_fatal ("cannot exit boot services");
#endif
grub_memcpy (&stack[8], &bi, sizeof (bi));
grub_memcpy (&stack[9], &bi, sizeof (bi));
state.eip = entry;
state.esp = stack_target;
stack[0] = entry; /* "Return" address. */