summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-18 11:34:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-18 11:34:30 +0000
commit3218856b2e222f25452898059000fd58b8c2f781 (patch)
tree3d5515845ec1b7a61ec2c3062632017a6867d440 /sys/arch/vax
parent79014fbff8a5a336d601819ecbed7b5412f3f6de (diff)
Missing error printf argument
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/mbus/uba_mbus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/vax/mbus/uba_mbus.c b/sys/arch/vax/mbus/uba_mbus.c
index da1b9013b1b..7bb6651e4aa 100644
--- a/sys/arch/vax/mbus/uba_mbus.c
+++ b/sys/arch/vax/mbus/uba_mbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uba_mbus.c,v 1.2 2011/04/07 15:30:16 miod Exp $ */
+/* $OpenBSD: uba_mbus.c,v 1.3 2011/09/18 11:34:29 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -116,7 +116,8 @@ uba_mbus_attach(struct device *parent, struct device *self, void *aux)
modaddr = MBUS_SLOT_BASE(maa->maa_mid);
fbic = vax_map_physmem(modaddr + FBIC_BASE, 1);
if (fbic == 0) {
- printf("%s: can't setup M-bus range register\n");
+ printf("%s: can't setup M-bus range register\n",
+ self->dv_xname);
return;
}
*(uint32_t *)(fbic + FBIC_RANGE) =