summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-01-22 02:58:35 +0000
committerjsg <jsg@openbsd.org>2014-01-22 02:58:35 +0000
commit38b3dfb7c16a9622f2d0b5f8bd1ec478fd8e5e58 (patch)
tree69bb0c9f3fc0939f0da46349a41458ddfcd7d295
parentallow -s<abrev> in addition to -s <word> in ntpctl commandline, like (diff)
downloadwireguard-openbsd-38b3dfb7c16a9622f2d0b5f8bd1ec478fd8e5e58.tar.xz
wireguard-openbsd-38b3dfb7c16a9622f2d0b5f8bd1ec478fd8e5e58.zip
add a missing argument to a debug printf
-rw-r--r--sys/dev/pcmcia/cfxga.c4
-rw-r--r--sys/dev/sbus/rfx.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/cfxga.c b/sys/dev/pcmcia/cfxga.c
index 4547d11fa7b..e9f041f0f27 100644
--- a/sys/dev/pcmcia/cfxga.c
+++ b/sys/dev/pcmcia/cfxga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfxga.c,v 1.26 2013/12/06 21:03:04 deraadt Exp $ */
+/* $OpenBSD: cfxga.c,v 1.27 2014/01/22 02:58:35 jsg Exp $ */
/*
* Copyright (c) 2005, 2006, Matthieu Herrb and Miodrag Vallat
@@ -283,7 +283,7 @@ cfxga_match(struct device *parent, void *match, void *aux)
return (0);
if (pcmcia_function_enable(pf) != 0) {
- DPRINTF(("%s: function enable failed\n"));
+ DPRINTF(("%s: function enable failed\n", __func__));
return (0);
}
diff --git a/sys/dev/sbus/rfx.c b/sys/dev/sbus/rfx.c
index ac97284a9ea..8cdbf38ff1a 100644
--- a/sys/dev/sbus/rfx.c
+++ b/sys/dev/sbus/rfx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfx.c,v 1.11 2013/11/26 20:33:18 deraadt Exp $ */
+/* $OpenBSD: rfx.c,v 1.12 2014/01/22 03:03:09 jsg Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
@@ -528,7 +528,8 @@ rfx_initialize(struct rfx_softc *sc, struct sbus_attach_args *sa,
#ifdef DEBUG
if (cnt != 0)
- printf("%s: incoherent initialization data!\n");
+ printf("%s: incoherent initialization data!\n",
+ sc->sc_sunfb.sf_dev.dv_xname);
#endif
bus_space_unmap(sa->sa_bustag, bh, RFX_INIT_SIZE);