[2097] 2009-04-13 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2097
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2097
Author:   robertmh
Date:     2009-04-13 14:38:10 +0000 (Mon, 13 Apr 2009)
Log Message:
-----------
2009-04-13  Robert Millan  <[email protected]>

        * loader/i386/linux.c (grub_cmd_linux): Don't pass `vga=ask' parameter
        to Linux, simply abort telling the user it's no longer supported.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/loader/i386/linux.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-13 14:14:40 UTC (rev 2096)
+++ trunk/grub2/ChangeLog	2009-04-13 14:38:10 UTC (rev 2097)
@@ -1,3 +1,8 @@
+2009-04-13  Robert Millan  <[email protected]>
+
+	* loader/i386/linux.c (grub_cmd_linux): Don't pass `vga=ask' parameter
+	to Linux, simply abort telling the user it's no longer supported.
+
 2009-04-13  Felix Zielcke  <[email protected]>
 
 	* util/grub.d/10_freebsd.in: Don't exit if /boot/devices.hints

Modified: trunk/grub2/loader/i386/linux.c
===================================================================
--- trunk/grub2/loader/i386/linux.c	2009-04-13 14:14:40 UTC (rev 2096)
+++ trunk/grub2/loader/i386/linux.c	2009-04-13 14:38:10 UTC (rev 2097)
@@ -583,7 +583,10 @@
 	else if (grub_strcmp (val, "ext") == 0)
 	  vid_mode = GRUB_LINUX_VID_MODE_EXTENDED;
 	else if (grub_strcmp (val, "ask") == 0)
-	  vid_mode = GRUB_LINUX_VID_MODE_ASK;
+	  {
+	    grub_error (GRUB_ERR_BAD_ARGUMENT, "Legacy `ask' parameter no longer supported.");
+	    goto fail;
+	  }
 	else
 	  vid_mode = (grub_uint16_t) grub_strtoul (val, 0, 0);
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.