aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/ata.c')
-rw-r--r--src/kernel/fs/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/ata.c b/src/kernel/fs/ata.c
index 96cc270..817bb98 100644
--- a/src/kernel/fs/ata.c
+++ b/src/kernel/fs/ata.c
@@ -269,7 +269,7 @@ void ata_device_detect(ata_dev_t *dev, int primary)
pci_write_field(ata_device, PCI_COMMAND, pci_command_reg);
}
- log("Detected drive: %d", dev->drive);
+ log("Detected drive: %s", dev->mountpoint);
vfs_mount(dev->mountpoint, create_ata_device(dev));
}