From 2e5eaea3267fcd6e057052ede08101aeeb1008ce Mon Sep 17 00:00:00 2001 From: vit9696 Date: Wed, 25 Sep 2019 19:44:00 +0300 Subject: [PATCH] OcConfigurationLib: Fix ordering in tools entry --- Include/Library/OcConfigurationLib.h | 2 +- Library/OcConfigurationLib/OcConfigurationLib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/Library/OcConfigurationLib.h b/Include/Library/OcConfigurationLib.h index 3610fd6c..c72c0e9f 100644 --- a/Include/Library/OcConfigurationLib.h +++ b/Include/Library/OcConfigurationLib.h @@ -281,8 +281,8 @@ OC_DECLARE (OC_MISC_SECURITY) #define OC_MISC_TOOLS_ENTRY_FIELDS(_, __) \ - _(OC_STRING , Comment , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) \ _(OC_STRING , Arguments , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) \ + _(OC_STRING , Comment , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) \ _(BOOLEAN , Enabled , , FALSE , () ) \ _(OC_STRING , Name , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) \ _(OC_STRING , Path , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) diff --git a/Library/OcConfigurationLib/OcConfigurationLib.c b/Library/OcConfigurationLib/OcConfigurationLib.c index f8b63a58..64cc8d84 100644 --- a/Library/OcConfigurationLib/OcConfigurationLib.c +++ b/Library/OcConfigurationLib/OcConfigurationLib.c @@ -330,8 +330,8 @@ mMiscConfigurationSecuritySchema[] = { STATIC OC_SCHEMA mMiscToolsSchemaEntry[] = { - OC_SCHEMA_STRING_IN ("Comment", OC_MISC_TOOLS_ENTRY, Comment), OC_SCHEMA_STRING_IN ("Arguments", OC_MISC_TOOLS_ENTRY, Arguments), + OC_SCHEMA_STRING_IN ("Comment", OC_MISC_TOOLS_ENTRY, Comment), OC_SCHEMA_BOOLEAN_IN ("Enabled", OC_MISC_TOOLS_ENTRY, Enabled), OC_SCHEMA_STRING_IN ("Name", OC_MISC_TOOLS_ENTRY, Name), OC_SCHEMA_STRING_IN ("Path", OC_MISC_TOOLS_ENTRY, Path),