]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigMisc.c
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigMisc.c
index f5ce94e06dc832e99a12a41b8e6f3c50a8c5911f..3730fbe64649d6911a7b480340195668171a1eaf 100644 (file)
@@ -10,12 +10,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 /**\r
   Read file content into BufferPtr, the size of the allocate buffer\r
-  is *FileSize plus AddtionAllocateSize.\r
+  is *FileSize plus AdditionAllocateSize.\r
 \r
   @param[in]       FileHandle            The file to be read.\r
   @param[in, out]  BufferPtr             Pointers to the pointer of allocated buffer.\r
   @param[out]      FileSize              Size of input file\r
-  @param[in]       AddtionAllocateSize   Addtion size the buffer need to be allocated.\r
+  @param[in]       AdditionAllocateSize   Addition size the buffer need to be allocated.\r
                                          In case the buffer need to contain others besides the file content.\r
 \r
   @retval   EFI_SUCCESS                  The file was read into the buffer.\r
@@ -29,7 +29,7 @@ ReadFileContent (
   IN      EFI_FILE_HANDLE           FileHandle,\r
   IN OUT  VOID                      **BufferPtr,\r
      OUT  UINTN                     *FileSize,\r
-  IN      UINTN                     AddtionAllocateSize\r
+  IN      UINTN                     AdditionAllocateSize\r
   )\r
 \r
 {\r
@@ -62,7 +62,7 @@ ReadFileContent (
     goto ON_EXIT;\r
   }\r
 \r
-  BufferSize = (UINTN) SourceFileSize + AddtionAllocateSize;\r
+  BufferSize = (UINTN) SourceFileSize + AdditionAllocateSize;\r
   Buffer =  AllocateZeroPool(BufferSize);\r
   if (Buffer == NULL) {\r
     return EFI_OUT_OF_RESOURCES;\r