diff mbox series

[2/2] libstb/tpm_chip: Add missing new line to print messages.

Message ID 1518028274-8454-2-git-send-email-ppaidipe@linux.vnet.ibm.com
State Accepted
Headers show
Series [1/2] libstb: increase the log level of verify/measure messages to PR_NOTICE. | expand

Commit Message

ppaidipe Feb. 7, 2018, 6:31 p.m. UTC
Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
---
 libstb/tpm_chip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libstb/tpm_chip.c b/libstb/tpm_chip.c
index e3d220a..2858caf 100644
--- a/libstb/tpm_chip.c
+++ b/libstb/tpm_chip.c
@@ -145,7 +145,7 @@  int tpm_register_chip(struct dt_node *node, struct tpm_dev *dev,
 		 * TpmLogMgr code (or friends) has been updated, the changes
 		 * need to be applied to skiboot as well.
 		 */
-		prlog(PR_ERR, "eventlog init failed: tpm%d rc=%d",
+		prlog(PR_ERR, "eventlog init failed: tpm%d rc=%d\n",
 		      tpm->id, rc);
 		goto disable;
 	}
@@ -181,7 +181,7 @@  int tpm_init(void)
 	tpm_i2c_nuvoton_probe();
 
 	if (list_empty(&tpm_list)) {
-		prlog(PR_INFO, "no compatible tpm device found!");
+		prlog(PR_INFO, "no compatible tpm device found!\n");
 		return -1;
 	}
 	return 0;