summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-04-25 13:57:36 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-04-30 14:26:29 +0200
commit85d96998a470bada0cfa602b4660fedd61cd3a83 (patch)
tree217f410f8c7c05120eab20c07541d91084018de9 /OvmfPkg
parent034dec6ca19df567fed464d9022d106f9ad20af8 (diff)
downloadedk2-85d96998a470bada0cfa602b4660fedd61cd3a83.tar.gz
edk2-85d96998a470bada0cfa602b4660fedd61cd3a83.tar.bz2
edk2-85d96998a470bada0cfa602b4660fedd61cd3a83.zip
OvmfPkg/EnrollDefaultKeys: clean up minor whitespace wart
In edk2, we should spell "#pragma pack(...)" with a space character in front of the opening parenthesis. Fix up locations that suggest otherwise. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien.grall@arm.com> Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1747 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
index b354ec6f81..aa827ac6aa 100644
--- a/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
+++ b/OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
@@ -601,7 +601,7 @@ STATIC CONST EFI_GUID mMicrosoftOwnerGuid = {
// UEFI specification, we'll introduce two matching convenience structures that
// are customized for our X.509 purposes.
//
-#pragma pack(1)
+#pragma pack (1)
typedef struct {
EFI_TIME TimeStamp;
@@ -632,7 +632,7 @@ typedef struct {
// X.509 certificate follows
//
} REPEATING_HEADER;
-#pragma pack()
+#pragma pack ()
/**
Enroll a set of certificates in a global variable, overwriting it.