]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
measure: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 23 Oct 2024 08:22:22 +0000 (17:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 23 Oct 2024 08:25:37 +0000 (17:25 +0900)
Follow-up for 0005411352f9bda0d9887c37b9e75a2bce6c1133.

src/boot/measure.c

index f2d644ff03699ab509a63bac3978a4bef10fa767..38bc2afda53909d31327cbfbcc1d15cb1bcab2df 100644 (file)
@@ -530,7 +530,7 @@ static int measure_kernel(PcrState *pcr_states, size_t n) {
                                 /* Our EFI stub measures VirtualSize bytes of the .linux section into PCR 11.
                                  * Notably, VirtualSize can be larger than the section's size on disk. In
                                  * that case the extra space is initialized with zeros, so the stub ends up
-                                 * measuring a bunch of zeros. To accomodate this, we have to measure the
+                                 * measuring a bunch of zeros. To accommodate this, we have to measure the
                                  * same number of zeros here. We opt to measure extra zeros here instead of
                                  * modifying the stub to only measure the number of bytes on disk as we want
                                  * newer ukify + systemd-measure to work with older versions of the stub and