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:
Gary Ching-Pang Lin 2013-10-28 16:36:34 +08:00 committed by Peter Jones
parent 09283f08f0
commit dc8fc734b8

6
shim.c
View File

@ -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;
} }