Kernel: fix typo regarding floppy drives in init_stage2

This commit is contained in:
Conrad Pankoff 2019-07-30 11:29:45 +10:00 committed by Andreas Kling
parent e6db1b81b8
commit 973c2d9bfd
Notes: sideshowbarker 2024-07-19 12:59:30 +09:00

View file

@ -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);