summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot2/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/pc98/boot2/boot.c')
-rw-r--r--sys/boot/pc98/boot2/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot2/boot.c b/sys/boot/pc98/boot2/boot.c
index f350b91..4bdfbef 100644
--- a/sys/boot/pc98/boot2/boot.c
+++ b/sys/boot/pc98/boot2/boot.c
@@ -294,7 +294,7 @@ loadprog(void)
* For backwards compatibility, use the previously-unused adaptor
* and controller bitfields to hold the slice number.
*/
- bootdev = MAKEBOOTDEV(maj, (slice >> 4), slice & 0xf, unit, part);
+ bootdev = MAKEBOOTDEV(maj, slice, unit, part);
bootinfo.bi_version = BOOTINFO_VERSION;
bootinfo.bi_kernelname = (u_int32_t)(name + ouraddr);
OpenPOWER on IntegriCloud