summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-05-13 09:16:06 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-05-13 09:16:06 +0000
commit0481775edd52c193b068c7af14f04aea635b6333 (patch)
tree014d2a5dca150ec257c730c5fc3bb68ee877d86e /sys/arch/sparc64
parentede4e81e4fed92cdaaff4325b78fa24ec38c0be9 (diff)
Put names we get from the prom between double quotes when we print them.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 74c1b8a55f2..00b3000f4dd 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.65 2007/05/04 19:30:55 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.66 2007/05/13 09:16:05 kettenis Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -555,7 +555,7 @@ mbprint(aux, name)
struct mainbus_attach_args *ma = aux;
if (name)
- printf("%s at %s", ma->ma_name, name);
+ printf("\"%s\" at %s", ma->ma_name, name);
if (ma->ma_address)
printf(" addr 0x%08lx", (u_long)ma->ma_address[0]);
if (ma->ma_pri)