summaryrefslogtreecommitdiff
path: root/src/sys/io/ic
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-22 19:35:30 -0400
committerIan Moffett <ian@osmora.org>2025-09-22 19:35:30 -0400
commitfa93409eebef651e7c1a79629751d8625aff1493 (patch)
treea305c04a7e7699b95050594e3f5a08b11101b51b /src/sys/io/ic
parent42900e4c83e0712bf15ab88a2112086878f8d6f8 (diff)
kern: ahci: Replace printf calls with dtrace()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/io/ic')
-rw-r--r--src/sys/io/ic/ahci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/io/ic/ahci.c b/src/sys/io/ic/ahci.c
index aecef80..05d59f6 100644
--- a/src/sys/io/ic/ahci.c
+++ b/src/sys/io/ic/ahci.c
@@ -346,7 +346,7 @@ ahci_init_ports(struct ahci_hba *hba)
dtrace("port %d implemented\n", i);
port = kalloc(sizeof(*port));
if (port == NULL) {
- printf("failed to allocate port\n");
+ dtrace("failed to allocate port\n");
continue;
}
@@ -358,7 +358,7 @@ ahci_init_ports(struct ahci_hba *hba)
error = ahci_init_port(hba, port);
if (error < 0) {
ahci_port_detach(port);
- printf("port init failed (error=%d)\n", error);
+ dtrace("port init failed (error=%d)\n", error);
continue;
}
}