svn commit: r218926 - head/sys/boot/i386/boot2
Dimitry Andric
dim at FreeBSD.org
Mon Feb 21 19:46:02 UTC 2011
Author: dim
Date: Mon Feb 21 19:46:02 2011
New Revision: 218926
URL: http://svn.freebsd.org/changeset/base/218926
Log:
In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable
from uint16_t back to uint32_t. The actual option bitmasks (RB_* and
RBX_*) assume at least a 32 bit variable.
Submitted by: rdivacky
Modified:
head/sys/boot/i386/boot2/boot2.c
Modified: head/sys/boot/i386/boot2/boot2.c
==============================================================================
--- head/sys/boot/i386/boot2/boot2.c Mon Feb 21 19:22:45 2011 (r218925)
+++ head/sys/boot/i386/boot2/boot2.c Mon Feb 21 19:46:02 2011 (r218926)
@@ -132,7 +132,7 @@ static struct dsk {
} dsk;
static char cmd[512], cmddup[512];
static char kname[1024];
-static uint16_t opts;
+static uint32_t opts;
static int comspeed = SIOSPD;
static struct bootinfo bootinfo;
static uint8_t ioctrl = IO_KEYBOARD;
More information about the svn-src-all
mailing list