arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone
Blob Blame History Raw
From dc8fc734b8d8c7720fd25ff8a35fc3f9ee384f3b Mon Sep 17 00:00:00 2001
From: Gary Ching-Pang Lin <glin@suse.com>
Date: Mon, 28 Oct 2013 16:36:34 +0800
Subject: [PATCH 35/74] 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
---
 shim.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shim.c b/shim.c
index eb8542a..f9fa606 100644
--- a/shim.c
+++ b/shim.c
@@ -479,7 +479,7 @@ static BOOLEAN secure_mode (void)
 	status = get_variable(L"SecureBoot", &Data, &len, global_var);
 	if (status != EFI_SUCCESS) {
 		if (verbose)
-			console_notify(L"Secure boot not enabled\n");
+			console_notify(L"Secure boot not enabled");
 		return FALSE;
 	}
 	sb = *Data;
@@ -487,7 +487,7 @@ static BOOLEAN secure_mode (void)
 
 	if (sb != 1) {
 		if (verbose)
-			console_notify(L"Secure boot not enabled\n");
+			console_notify(L"Secure boot not enabled");
 		return FALSE;
 	}
 
@@ -500,7 +500,7 @@ static BOOLEAN secure_mode (void)
 
 	if (setupmode == 1) {
 		if (verbose)
-			console_notify(L"Platform is in setup mode\n");
+			console_notify(L"Platform is in setup mode");
 		return FALSE;
 	}
 
-- 
1.9.3