diff options
-rw-r--r-- | sys/arch/sparc64/dev/z8530tty.c | 8 | ||||
-rw-r--r-- | sys/dev/ic/z8530tty.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c index d45fa9c644d..79622eac199 100644 --- a/sys/arch/sparc64/dev/z8530tty.c +++ b/sys/arch/sparc64/dev/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.13 2007/05/25 21:27:15 krw Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.14 2008/01/18 21:35:54 kettenis Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -295,7 +295,7 @@ zstty_attach(parent, self, aux) */ i = o = NULL; if ((zst->zst_hwflags & ZS_HWFLAG_CONSOLE_INPUT) != 0) { - i = "input"; + i = " input"; if ((args->hwflags & ZS_HWFLAG_USE_CONSDEV) != 0) { args->consdev->cn_dev = dev; cn_tab->cn_pollc = args->consdev->cn_pollc; @@ -305,14 +305,14 @@ zstty_attach(parent, self, aux) /* Set console magic to BREAK */ } if ((zst->zst_hwflags & ZS_HWFLAG_CONSOLE_OUTPUT) != 0) { - o = "output"; + i = " output"; if ((args->hwflags & ZS_HWFLAG_USE_CONSDEV) != 0) { cn_tab->cn_putc = args->consdev->cn_putc; } cn_tab->cn_dev = dev; } if (i != NULL || o != NULL) - printf(" (console %s)", i ? (o ? "i/o" : i) : o); + printf(": console%s", i ? (o ? "" : i) : o); #ifdef KGDB if (zs_check_kgdb(cs, dev)) { diff --git a/sys/dev/ic/z8530tty.c b/sys/dev/ic/z8530tty.c index 4e13aed4595..10ddebc1996 100644 --- a/sys/dev/ic/z8530tty.c +++ b/sys/dev/ic/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.16 2006/04/27 19:31:44 deraadt Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.17 2008/01/18 21:36:43 kettenis Exp $ */ /* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */ /* @@ -234,7 +234,7 @@ zstty_attach(parent, self, aux) printf(" flags 0x%x", zst->zst_swflags); if (zst->zst_hwflags & ZS_HWFLAG_CONSOLE) - printf(" (console)"); + printf(": console"); else { #ifdef KGDB /* |