gnu-efi/gnu-efi-missing-error-code.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

From 37d7bee82a627999563069b090866076e055a871 Mon Sep 17 00:00:00 2001
From: Nigel Croxon <nigel.croxon@hp.com>
Date: Thu, 14 May 2015 12:38:39 -0400
Subject: [PATCH] Added some missing error code descriptions
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
---
lib/error.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lib/error.c b/lib/error.c
index e1d3249..3a856a6 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -47,6 +47,13 @@ struct {
{ EFI_ICMP_ERROR, L"ICMP Error"},
{ EFI_TFTP_ERROR, L"TFTP Error"},
{ EFI_PROTOCOL_ERROR, L"Protocol Error"},
+ { EFI_INCOMPATIBLE_VERSION, L"Incompatible Version"},
+ { EFI_SECURITY_VIOLATION, L"Security Policy Violation"},
+ { EFI_CRC_ERROR, L"CRC Error"},
+ { EFI_END_OF_MEDIA, L"End of Media"},
+ { EFI_END_OF_FILE, L"End of File"},
+ { EFI_INVALID_LANGUAGE, L"Invalid Languages"},
+ { EFI_COMPROMISED_DATA, L"Compromised Data"},
// warnings
{ EFI_WARN_UNKOWN_GLYPH, L"Warning Unknown Glyph"},
--
2.1.4