From a51b55c985fbf52058a1e63839c5b78a017150a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 17 Oct 2005 10:06:28 +0000 Subject: [PATCH] "kernel_args.boot_disk.cd" was never set to true... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14397 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/bios_ia32/devices.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/system/boot/platform/bios_ia32/devices.cpp b/src/system/boot/platform/bios_ia32/devices.cpp index 8c62527a0b..c0b6bb087b 100644 --- a/src/system/boot/platform/bios_ia32/devices.cpp +++ b/src/system/boot/platform/bios_ia32/devices.cpp @@ -172,9 +172,7 @@ check_cd_boot(void) // we obviously were booted from CD! specification_packet *packet = (specification_packet *)kDataSegmentScratch; - - if (packet->media_type != 0) - gKernelArgs.boot_disk.cd = false; + gKernelArgs.boot_disk.cd = packet->media_type != 0; #if 0 dprintf("got CD boot spec:\n");