From 5d99c75f0ac57bbef2c757bc6e1b0f749ad689ad Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 7 Dec 2021 16:07:56 +0000 Subject: [PATCH] print the failed method number --- sys/dev/acpi/tpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpi/tpm.c b/sys/dev/acpi/tpm.c index 6f3bafa0b76..d3f3861e46e 100644 --- a/sys/dev/acpi/tpm.c +++ b/sys/dev/acpi/tpm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tpm.c,v 1.13 2021/10/23 16:39:03 dv Exp $ */ +/* $OpenBSD: tpm.c,v 1.14 2021/12/07 16:07:56 deraadt Exp $ */ /* * Minimal interface to Trusted Platform Module chips implementing the @@ -285,7 +285,7 @@ tpm_attach(struct device *parent, struct device *self, void *aux) sc->sc_tpm_mode = TPM_CRB; break; default: - printf(": unsupported TPM2 start method\n"); + printf(": unsupported TPM2 start method %d\n", start_method); return; } } -- 2.20.1