svn commit: r218946 - head/sys/boot/pc98/boot2

Takahashi Yoshihiro nyan at FreeBSD.org
Tue Feb 22 13:52:04 UTC 2011


Author: nyan
Date: Tue Feb 22 13:52:03 2011
New Revision: 218946
URL: http://svn.freebsd.org/changeset/base/218946

Log:
  MFi386: revision 218926
  
    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/pc98/boot2/boot2.c

Modified: head/sys/boot/pc98/boot2/boot2.c
==============================================================================
--- head/sys/boot/pc98/boot2/boot2.c	Tue Feb 22 10:09:34 2011	(r218945)
+++ head/sys/boot/pc98/boot2/boot2.c	Tue Feb 22 13:52:03 2011	(r218946)
@@ -134,7 +134,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-head mailing list