summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-15 20:59:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-15 20:59:18 +0000
commit9dee95d3ed478e22201195ccd5d5208a0dd33e01 (patch)
treee122516601f85423286428d0b273de233acb81b5
parent7666be6a42f9a5305e03215a0ce934b2264346fd (diff)
if \n is added in attach, then tpm_init() should skip it.
-rw-r--r--sys/dev/acpi/tpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/tpm.c b/sys/dev/acpi/tpm.c
index db308d7be68..beced7eb72b 100644
--- a/sys/dev/acpi/tpm.c
+++ b/sys/dev/acpi/tpm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tpm.c,v 1.6 2019/05/13 22:58:52 tedu Exp $ */
+/* $OpenBSD: tpm.c,v 1.7 2019/05/15 20:59:17 deraadt Exp $ */
/*
* Minimal interface to Trusted Platform Module chips implementing the
@@ -423,9 +423,9 @@ tpm_init(struct tpm_softc *sc)
break;
if (tpm_devs[i].devid)
- printf(": %s rev 0x%x\n", tpm_devs[i].name, sc->sc_rev);
+ printf(", %s rev 0x%x", tpm_devs[i].name, sc->sc_rev);
else
- printf(": device 0x%08x rev 0x%x\n", sc->sc_devid, sc->sc_rev);
+ printf(", device 0x%08x rev 0x%x", sc->sc_devid, sc->sc_rev);
return 0;
}