summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-22 00:03:07 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-22 00:03:07 +0000
commit3d7a742736d224fb1fb287941be05ef8176074e1 (patch)
treebb7b67fe26dcda4ad695754a3094365cc6e4901e /sys/arch
parentddc466704e474c7581d61ff7a5c5d32de823176d (diff)
add missing arguments to debug printfs
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sgi/xbow/xbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c
index 4c2d12de3cf..0020ed0c835 100644
--- a/sys/arch/sgi/xbow/xbridge.c
+++ b/sys/arch/sgi/xbow/xbridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbridge.c,v 1.86 2012/09/29 18:54:39 miod Exp $ */
+/* $OpenBSD: xbridge.c,v 1.87 2014/01/22 00:03:06 jsg Exp $ */
/*
* Copyright (c) 2008, 2009, 2011 Miodrag Vallat.
@@ -2824,7 +2824,7 @@ xbridge_device_setup(struct xbpci_softc *xb, int dev, int nfuncs,
M_DEVBUF, NULL, 0, EX_NOWAIT);
#ifdef DEBUG
if (ioex == NULL)
- printf("%s: ioex extent_create failed\n");
+ printf("%s: ioex extent_create failed\n", __func__);
#endif
}
if (xb->xb_memex != NULL)
@@ -2835,7 +2835,7 @@ xbridge_device_setup(struct xbpci_softc *xb, int dev, int nfuncs,
M_DEVBUF, NULL, 0, EX_NOWAIT);
#ifdef DEBUG
if (memex == NULL)
- printf("%s: memex extent_create failed\n");
+ printf("%s: memex extent_create failed\n", __func__);
#endif
}