X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/0f73e6cc9945f9b4a074bb62b9708d1751fa3723..8c06c883e7b13c115d5ff207f79d4b68fccd5ad6:/lunaix-os/hal/ahci/ahci.c diff --git a/lunaix-os/hal/ahci/ahci.c b/lunaix-os/hal/ahci/ahci.c index 61ea95b..33dc87e 100644 --- a/lunaix-os/hal/ahci/ahci.c +++ b/lunaix-os/hal/ahci/ahci.c @@ -186,12 +186,12 @@ ahci_driver_init(struct device_def* def, struct device* dev) port_regs[HBA_RPxCMD] |= HBA_PxCMD_ST; if (!ahci_init_device(port)) { - kprintf(KERROR "init fail: 0x%x@p%d\n", port->regs[HBA_RPxSIG], i); + kprintf(KERROR "init fail: 0x%x@p%d", port->regs[HBA_RPxSIG], i); continue; } struct hba_device* hbadev = port->device; - kprintf(KINFO "sata%d: %s, blk_size=%d, blk=0..%d\n", + kprintf(KINFO "sata%d: %s, blk_size=%d, blk=0..%d", i, hbadev->model, hbadev->block_size,