use grub_{setjmp,longjmp} to restart stage2.

This commit is contained in:
okuji committed 2000-01-05 06:02:22 +00:00
1 parent 817ae7fd92
commit 4ca2160923
8 files changed
+138 -25

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
* Copyright (C) 1999 Free Software Foundation, Inc.
* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -451,7 +451,7 @@ configfile_func (char *arg, int flags)
#endif
/* Restart cmain. */
cmain ();
grub_longjmp (restart_env, 0);
/* Never reach here. */
return 0;