[2303] 2009-06-11 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2303
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2303
Author:   proski
Date:     2009-06-11 16:54:52 +0000 (Thu, 11 Jun 2009)
Log Message:
-----------
2009-06-11  Pavel Roskin  <[email protected]>

	* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
	fix a gcc warning and ensure that the function won't ever exit.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/efi/efi.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-06-11 16:49:51 UTC (rev 2302)
+++ trunk/grub2/ChangeLog	2009-06-11 16:54:52 UTC (rev 2303)
@@ -1,5 +1,8 @@
 2009-06-11  Pavel Roskin  <[email protected]>
 
+	* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
+	fix a gcc warning and ensure that the function won't ever exit.
+
 	* kern/i386/ieee1275/init.c: Add missing prototype for
 	grub_stop_floppy().
 

Modified: trunk/grub2/kern/efi/efi.c
===================================================================
--- trunk/grub2/kern/efi/efi.c	2009-06-11 16:49:51 UTC (rev 2302)
+++ trunk/grub2/kern/efi/efi.c	2009-06-11 16:54:52 UTC (rev 2303)
@@ -158,6 +158,7 @@
   grub_efi_fini ();
   efi_call_4 (grub_efi_system_table->boot_services->exit,
               grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
+  for (;;) ;
 }
 
 void
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.