diff options
author | nyan <nyan@FreeBSD.org> | 2011-02-22 13:52:03 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2011-02-22 13:52:03 +0000 |
commit | e09c45fb877e3e7513aa012eb25f0651c818cb10 (patch) | |
tree | 96d7b011ddd52507f66f1ff124bf46b46441879c /sys/boot/pc98 | |
parent | 19b8b1073e15fc557c0d7dc28d621601899bbdb8 (diff) | |
download | FreeBSD-src-e09c45fb877e3e7513aa012eb25f0651c818cb10.zip FreeBSD-src-e09c45fb877e3e7513aa012eb25f0651c818cb10.tar.gz |
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
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r-- | sys/boot/pc98/boot2/boot2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot2/boot2.c b/sys/boot/pc98/boot2/boot2.c index d345cfc..9b63d87 100644 --- a/sys/boot/pc98/boot2/boot2.c +++ b/sys/boot/pc98/boot2/boot2.c @@ -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; |