diff options
author | 2011-09-18 11:34:29 +0000 | |
---|---|---|
committer | 2011-09-18 11:34:29 +0000 | |
commit | 851704d3c58f942bcdb0f5469a8d9772d13cb10d (patch) | |
tree | a27d8dc8ff060860dc5b00c61f1924553b135df5 | |
parent | Make sure daddr64_t values get printed with %lld. (diff) | |
download | wireguard-openbsd-851704d3c58f942bcdb0f5469a8d9772d13cb10d.tar.xz wireguard-openbsd-851704d3c58f942bcdb0f5469a8d9772d13cb10d.zip |
Missing error printf argument
-rw-r--r-- | sys/arch/vax/mbus/uba_mbus.c | 5 |
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) = |