arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone

Blame SOURCES/0035-No-newline-for-console_notify.patch

e97c83
From dc8fc734b8d8c7720fd25ff8a35fc3f9ee384f3b Mon Sep 17 00:00:00 2001
e97c83
From: Gary Ching-Pang Lin <glin@suse.com>
e97c83
Date: Mon, 28 Oct 2013 16:36:34 +0800
e97c83
Subject: [PATCH 35/74] No newline for console_notify
e97c83
e97c83
The newlines are for Print(), not console_notify().
e97c83
e97c83
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
e97c83
e97c83
Conflicts:
e97c83
	shim.c
e97c83
---
e97c83
 shim.c | 6 +++---
e97c83
 1 file changed, 3 insertions(+), 3 deletions(-)
e97c83
e97c83
diff --git a/shim.c b/shim.c
e97c83
index eb8542a..f9fa606 100644
e97c83
--- a/shim.c
e97c83
+++ b/shim.c
e97c83
@@ -479,7 +479,7 @@ static BOOLEAN secure_mode (void)
e97c83
 	status = get_variable(L"SecureBoot", &Data, &len, global_var);
e97c83
 	if (status != EFI_SUCCESS) {
e97c83
 		if (verbose)
e97c83
-			console_notify(L"Secure boot not enabled\n");
e97c83
+			console_notify(L"Secure boot not enabled");
e97c83
 		return FALSE;
e97c83
 	}
e97c83
 	sb = *Data;
e97c83
@@ -487,7 +487,7 @@ static BOOLEAN secure_mode (void)
e97c83
 
e97c83
 	if (sb != 1) {
e97c83
 		if (verbose)
e97c83
-			console_notify(L"Secure boot not enabled\n");
e97c83
+			console_notify(L"Secure boot not enabled");
e97c83
 		return FALSE;
e97c83
 	}
e97c83
 
e97c83
@@ -500,7 +500,7 @@ static BOOLEAN secure_mode (void)
e97c83
 
e97c83
 	if (setupmode == 1) {
e97c83
 		if (verbose)
e97c83
-			console_notify(L"Platform is in setup mode\n");
e97c83
+			console_notify(L"Platform is in setup mode");
e97c83
 		return FALSE;
e97c83
 	}
e97c83
 
e97c83
-- 
e97c83
1.9.3
e97c83