summaryrefslogtreecommitdiff
path: root/src/security/tpm/tss
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2018-10-29 10:47:52 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-04-08 14:10:20 +0000
commit8bd5c996ab96b34e1654a88a98d1c9a957b0b478 (patch)
tree2d9edb0b78552dda22cfc7f763d70e19fb521ebd /src/security/tpm/tss
parentdb3ba1bc186c487157ba9161dfc965f3e22a026f (diff)
downloadcoreboot-8bd5c996ab96b34e1654a88a98d1c9a957b0b478.tar.xz
{src,util}: Correct typo in comment and debug string
Correct typo in comment and debug string. BUG=N/A TEST=build Change-Id: I0362bb8d7c883e7fcbc6a2fc2f9918251f0d8d6e Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29321 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/tpm/tss')
-rw-r--r--src/security/tpm/tss/tcg-2.0/tss_marshaling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
index 62bc6a9a35..21da73a885 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -471,12 +471,12 @@ static int unmarshal_nv_read(struct ibuf *ib, struct nv_read_response *nvr)
}
/*
- * Let's ignore the authorisation section. It should be 5 bytes total,
+ * Let's ignore the authorization section. It should be 5 bytes total,
* just confirm that this is the case and report any discrepancy.
*/
if (ibuf_remaining(ib) != 5)
printk(BIOS_ERR,
- "%s:%d - unexpected authorisation seciton size %zd\n",
+ "%s:%d - unexpected authorization section size %zd\n",
__func__, __LINE__, ibuf_remaining(ib));
ibuf_oob_drain(ib, ibuf_remaining(ib));