Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic tpm(4): add missing newline character in device_p...



details:   https://anonhg.NetBSD.org/src/rev/6d37c94c90d9
branches:  trunk
changeset: 369899:6d37c94c90d9
user:      khorben <khorben%NetBSD.org@localhost>
date:      Wed Sep 07 00:34:19 2022 +0000

description:
tpm(4): add missing newline character in device_printf()

Observed with on a Sun Ultra 24, NetBSD/amd64:

tpm0 at acpi0 (TPM, IFX0102-1): io 0x4e-0x4f,0x4700-0x470b mem 0xfed40000-0xfed44fff
tpm0: device 0x000b15d1 rev 0x10
tpm0: read 8 bytes, expected 10tpm0: deactivating entropy source

diffstat:

 sys/dev/ic/tpm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 037c51efe957 -r 6d37c94c90d9 sys/dev/ic/tpm.c
--- a/sys/dev/ic/tpm.c  Wed Sep 07 00:29:23 2022 +0000
+++ b/sys/dev/ic/tpm.c  Wed Sep 07 00:34:19 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tpm.c,v 1.25 2022/01/29 12:27:30 riastradh Exp $       */
+/*     $NetBSD: tpm.c,v 1.26 2022/09/07 00:34:19 khorben Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.25 2022/01/29 12:27:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.26 2022/09/07 00:34:19 khorben Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -543,7 +543,7 @@
 
        /* Verify the response header looks sensible.  */
        if (nread != sizeof(response.hdr)) {
-               device_printf(sc->sc_dev, "read %zu bytes, expected %zu",
+               device_printf(sc->sc_dev, "read %zu bytes, expected %zu\n",
                    nread, sizeof(response.hdr));
                goto out;
        }



Home | Main Index | Thread Index | Old Index