diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-08-21 19:01:39 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-08-21 19:01:39 +0000 |
commit | dfb00039258dd8343fd60b3699f5f75209e74662 (patch) | |
tree | ac3290cbd808b34d68c8a14be0e7b4cb2af7830f | |
parent | dab79e5df1b7fd45be08dc0dc58dbd37baa93742 (diff) |
Do not repeat device name in failure message printed during attachment.
-rw-r--r-- | sys/arch/sparc64/dev/bbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/bbc.c b/sys/arch/sparc64/dev/bbc.c index 88aa119d006..353a759ccac 100644 --- a/sys/arch/sparc64/dev/bbc.c +++ b/sys/arch/sparc64/dev/bbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bbc.c,v 1.1 2007/04/10 19:05:52 kettenis Exp $ */ +/* $OpenBSD: bbc.c,v 1.2 2007/08/21 19:01:38 kettenis Exp $ */ /* * Copyright (c) 2007 Mark Kettenis @@ -84,7 +84,7 @@ bbc_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; } |