mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-06 04:07:53 +00:00
No newline for console_notify
The newlines are for Print(), not console_notify(). Signed-off-by: Gary Ching-Pang Lin <glin@suse.com> Conflicts: shim.c
This commit is contained in:
parent
09283f08f0
commit
dc8fc734b8
6
shim.c
6
shim.c
@ -479,7 +479,7 @@ static BOOLEAN secure_mode (void)
|
|||||||
status = get_variable(L"SecureBoot", &Data, &len, global_var);
|
status = get_variable(L"SecureBoot", &Data, &len, global_var);
|
||||||
if (status != EFI_SUCCESS) {
|
if (status != EFI_SUCCESS) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
console_notify(L"Secure boot not enabled\n");
|
console_notify(L"Secure boot not enabled");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
sb = *Data;
|
sb = *Data;
|
||||||
@ -487,7 +487,7 @@ static BOOLEAN secure_mode (void)
|
|||||||
|
|
||||||
if (sb != 1) {
|
if (sb != 1) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
console_notify(L"Secure boot not enabled\n");
|
console_notify(L"Secure boot not enabled");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -500,7 +500,7 @@ static BOOLEAN secure_mode (void)
|
|||||||
|
|
||||||
if (setupmode == 1) {
|
if (setupmode == 1) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
console_notify(L"Platform is in setup mode\n");
|
console_notify(L"Platform is in setup mode");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user