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>
This commit is contained in:
1 parent
eff6b7157c
commit
fcf583b4a7
1 file changed
+1
-1
@@ -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 &&
|
||||
|
||||
Reference in new issue
Block a user