summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-29 11:23:03 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-29 12:51:50 +0300
commitfcf583b4a7f74de1475a953bd934efcdd4e34309 (patch)
tree903d7ca3031422c326168431acc2815c5ffb194d /lib
parenteff6b7157c0094c02e790146c09a2f1b4bda410f (diff)
downloadu-boot-fcf583b4a7f74de1475a953bd934efcdd4e34309.tar.xz
efi_loader: typo non-volatile in efi_var_restore
It is volatile variables that we do not allow to be restored from file. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_var_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c
index 3d58caa13d..de9ba8de99 100644
--- a/lib/efi_loader/efi_var_file.c
+++ b/lib/efi_loader/efi_var_file.c
@@ -176,7 +176,7 @@ efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe)
data = var->name + u16_strlen(var->name) + 1;
/*
- * Secure boot related and non-volatile variables shall only be
+ * Secure boot related and volatile variables shall only be
* restored from U-Boot's preseed.
*/
if (!safe &&