summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-03-08 22:19:04 +0000
committermiod <miod@openbsd.org>2009-03-08 22:19:04 +0000
commit26641eaa2e91db013c259f2815e80e1263baf5c0 (patch)
tree84f13184303983836abba70502d7672ef1f4c790
parentadapt example to reflect a recent change in parse.y (diff)
downloadwireguard-openbsd-26641eaa2e91db013c259f2815e80e1263baf5c0.tar.xz
wireguard-openbsd-26641eaa2e91db013c259f2815e80e1263baf5c0.zip
Fix dmesg output for child devices not configured (e.g. lpt on RAMDISK).
-rw-r--r--sys/arch/hppa/dev/ssio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/ssio.c b/sys/arch/hppa/dev/ssio.c
index 2902369f6b0..49df0167529 100644
--- a/sys/arch/hppa/dev/ssio.c
+++ b/sys/arch/hppa/dev/ssio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssio.c,v 1.6 2007/07/05 11:28:30 kettenis Exp $ */
+/* $OpenBSD: ssio.c,v 1.7 2009/03/08 22:19:04 miod Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
@@ -353,7 +353,7 @@ ssio_print(void *aux, const char *pnp)
struct ssio_attach_args *saa = aux;
if (pnp)
- printf("%s at %s offset\n", saa->saa_name, pnp);
+ printf("%s at %s", saa->saa_name, pnp);
if (saa->saa_iobase) {
printf(" offset %lx", saa->saa_iobase);
if (!pnp && saa->saa_irq >= 0)