summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-11-09 20:45:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-11-09 20:45:38 +0000
commitd67ca862eb220fce52b0bdd38943c98a312daedc (patch)
treef9facc9c2746d1224faf7a67e5bb6fd5fd85ac41 /sys
parent33f3d1879a26b8e2785ad3b0908482b472a40802 (diff)
Fix error message.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/pmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/pmc.c b/sys/arch/sparc64/dev/pmc.c
index 6c4bee7a600..cc5b55864c5 100644
--- a/sys/arch/sparc64/dev/pmc.c
+++ b/sys/arch/sparc64/dev/pmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmc.c,v 1.1 2007/04/10 19:03:10 kettenis Exp $ */
+/* $OpenBSD: pmc.c,v 1.2 2009/11/09 20:45:37 kettenis Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
@@ -93,7 +93,7 @@ pmc_attach(struct device *parent, struct device *self, void *aux)
ea->ea_regs[0].size, 0, 0, &sc->sc_ioh) == 0) {
sc->sc_iot = ea->ea_memtag;
} else {
- printf("%s: can't map register space\n", self->dv_xname);
+ printf(": can't map register space\n");
return;
}