arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone

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

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