]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
efivars: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 02:09:31 +0000 (11:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 02:12:10 +0000 (11:12 +0900)
Follow-up for ab69a04600fd34c152c44be6864eb3bc64568e17.

src/basic/efivars.c

index 1d874a9172307fa7414fa948fab29953182986c9..df853935ca1d8795b673db64707cd83f2aef8af8 100644 (file)
@@ -73,7 +73,7 @@ int efi_get_variable(
                 if (r < 0)
                         return log_debug_errno(r, "EFI variable '%s' is not a regular file, refusing: %m", p);
 
-                if (st.st_size == 0) /* for uncommited variables, see below */
+                if (st.st_size == 0) /* for uncommitted variables, see below */
                         return log_debug_errno(SYNTHETIC_ERRNO(ENOENT), "EFI variable '%s' is uncommitted", p);
                 if ((uint64_t) st.st_size < sizeof(attr))
                         return log_debug_errno(SYNTHETIC_ERRNO(ENODATA), "EFI variable '%s' is shorter than %zu bytes, refusing.", p, sizeof(attr));