summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 23:54:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 23:54:49 +0000
commit75aab6a7a08e802bb2dc778f53737a5e0a444fe0 (patch)
treebe8f1c61aab565704b62753abdbb1fe0a15de7ee
parent25ed45e6f0746219e3313b2a6a81d4587296a80d (diff)
add missing arguments to debug printfs
-rw-r--r--sys/arch/mvme88k/mvme88k/m197_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m197_machdep.c b/sys/arch/mvme88k/mvme88k/m197_machdep.c
index c165b37cdb7..c9757504e54 100644
--- a/sys/arch/mvme88k/mvme88k/m197_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m197_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m197_machdep.c,v 1.48 2013/05/17 22:46:28 miod Exp $ */
+/* $OpenBSD: m197_machdep.c,v 1.49 2014/01/21 23:54:48 jsg Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -545,7 +545,7 @@ m197_send_complex_ipi(int ipi, cpuid_t cpu, u_int32_t arg1, u_int32_t arg2)
#ifdef DEBUG
if (ci->ci_ipi != 0)
printf("%s: cpu %d ipi %x did not clear during wait\n",
- ci->ci_cpuid, ci->ci_ipi);
+ __func__, ci->ci_cpuid, ci->ci_ipi);
#endif
/*
@@ -583,7 +583,7 @@ m197_send_complex_ipi(int ipi, cpuid_t cpu, u_int32_t arg1, u_int32_t arg2)
*/
if (ci->ci_ipi != 0) {
printf("%s: cpu %d ipi %x did not clear after completion\n",
- ci->ci_cpuid, ci->ci_ipi);
+ __func__, ci->ci_cpuid, ci->ci_ipi);
*(volatile u_int8_t *)(BS_BASE + BS_CPINT) |= BS_CPI_SCPI;
}
#endif