From 88a01b0e79c241a008a8104baae650a3390c5e5f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 23 Sep 2019 00:22:12 +0200 Subject: Fix typo in the naming of the function SecRigionXxx by renaming them to SecRegionXxx --- DcsCfg/DcsCfgMain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'DcsCfg/DcsCfgMain.c') diff --git a/DcsCfg/DcsCfgMain.c b/DcsCfg/DcsCfgMain.c index 5e5d819..8e3ad81 100644 --- a/DcsCfg/DcsCfgMain.c +++ b/DcsCfg/DcsCfgMain.c @@ -707,7 +707,7 @@ DcsCfgMain( CONST CHAR16* opt = NULL; opt = ShellCommandLineGetValue(Package, OPT_SECREGION_MARK); gSecRigonCount = StrDecimalToUintn(opt); - SecRigionMark(); + SecRegionMark(); } else { ERR_PRINT(L"Select disk and security region count"); return EFI_INVALID_PARAMETER; @@ -719,7 +719,7 @@ DcsCfgMain( CONST CHAR16* opt = NULL; opt = ShellCommandLineGetValue(Package, OPT_SECREGION_WIPE); gSecRigonCount = StrDecimalToUintn(opt); - SecRigionWipe(); + SecRegionWipe(); } else { ERR_PRINT(L"Select disk and security region count"); @@ -734,7 +734,7 @@ DcsCfgMain( UINTN secRegionIdx; opt = ShellCommandLineGetValue(Package, OPT_SECREGION_ADD); secRegionIdx = StrDecimalToUintn(opt); - SecRigionAdd(secRegionIdx); + SecRegionAdd(secRegionIdx); } else { ERR_PRINT(L"Select disk and GPT file"); @@ -746,7 +746,7 @@ DcsCfgMain( if (ShellCommandLineGetFlag(Package, OPT_DISK_START)) { CONST CHAR16* opt = NULL; opt = ShellCommandLineGetValue(Package, OPT_SECREGION_DUMP); - SecRigionDump(gBIOHandles[BioIndexStart], (CHAR16*)opt); + SecRegionDump(gBIOHandles[BioIndexStart], (CHAR16*)opt); } else { ERR_PRINT(L"Select disk"); return EFI_INVALID_PARAMETER; -- cgit v1.2.3