From 973c2d9bfdb16343d2456e71496ade3f647ab936 Mon Sep 17 00:00:00 2001 From: Conrad Pankoff Date: Tue, 30 Jul 2019 11:29:45 +1000 Subject: [PATCH] Kernel: fix typo regarding floppy drives in init_stage2 --- Kernel/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 2b22bfe29f..eff913e8b0 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -130,7 +130,7 @@ VFS* vfs; } if (detect & 0x0f) { - fd0 = FloppyDiskDevice::create(FloppyDiskDevice::DriveType::Slave); + fd1 = FloppyDiskDevice::create(FloppyDiskDevice::DriveType::Slave); kprintf("fd1 is 1.44MB floppy drive"); } else { kprintf("fd1 type unsupported! Type == 0x%x\n", detect & 0x0f);