summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-06-15 05:44:46 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-06-15 05:44:46 +0000
commit41d06bcb4c619b1265efaf3ab3edbc0f5d56b043 (patch)
treee1f1e2148245a0d50b6aaa48984168a825f874da /sys/arch/sparc64
parent1fa69c48a358d914add75919a0e6758f244e9338 (diff)
fix some printf's
From: Brian Poole <raj at cerias dot purdue dot edu> ok henric@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/ofw_machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/ofw_machdep.c b/sys/arch/sparc64/sparc64/ofw_machdep.c
index 60ac862c37f..8c435552464 100644
--- a/sys/arch/sparc64/sparc64/ofw_machdep.c
+++ b/sys/arch/sparc64/sparc64/ofw_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofw_machdep.c,v 1.10 2004/05/17 04:34:46 brad Exp $ */
+/* $OpenBSD: ofw_machdep.c,v 1.11 2004/06/15 05:44:45 brad Exp $ */
/* $NetBSD: ofw_machdep.c,v 1.16 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -90,7 +90,7 @@ get_memory_handle()
u_int chosen;
if ((chosen = OF_finddevice("/chosen")) == -1) {
- prom_printf("get_mmu_handle: cannot get /chosen\r\n");
+ prom_printf("get_memory_handle: cannot get /chosen\r\n");
return -1;
}
if (OF_getprop(chosen, "memory", &memh, sizeof(memh)) == -1) {
@@ -267,7 +267,7 @@ prom_free_virt(vaddr, len)
} args;
if (mmuh == -1 && ((mmuh = get_mmu_handle()) == -1)) {
- prom_printf("prom_claim_virt: cannot get mmuh\r\n");
+ prom_printf("prom_free_virt: cannot get mmuh\r\n");
return -1;
}
args.name = ADR2CELL(&"call-method");
@@ -302,7 +302,7 @@ prom_unmap_virt(vaddr, len)
} args;
if (mmuh == -1 && ((mmuh = get_mmu_handle()) == -1)) {
- prom_printf("prom_claim_virt: cannot get mmuh\r\n");
+ prom_printf("prom_unmap_virt: cannot get mmuh\r\n");
return -1;
}
args.name = ADR2CELL(&"call-method");
@@ -430,7 +430,7 @@ prom_claim_phys(phys, len)
} args;
if (memh == -1 && ((memh = get_memory_handle()) == -1)) {
- prom_printf("prom_alloc_phys: cannot get memh\r\n");
+ prom_printf("prom_claim_phys: cannot get memh\r\n");
return -1;
}
args.name = ADR2CELL(&"call-method");