From fa93409eebef651e7c1a79629751d8625aff1493 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 22 Sep 2025 19:35:30 -0400 Subject: kern: ahci: Replace printf calls with dtrace() Signed-off-by: Ian Moffett --- src/sys/io/ic/ahci.c | 4 ++-- 1 file 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; } } -- cgit v1.2.3