diff options
Diffstat (limited to 'Tools/CCode/Source/EfiCompress/EfiCompressMain.c')
-rw-r--r-- | Tools/CCode/Source/EfiCompress/EfiCompressMain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/CCode/Source/EfiCompress/EfiCompressMain.c b/Tools/CCode/Source/EfiCompress/EfiCompressMain.c index f745ea2b46..b07f62990d 100644 --- a/Tools/CCode/Source/EfiCompress/EfiCompressMain.c +++ b/Tools/CCode/Source/EfiCompress/EfiCompressMain.c @@ -27,7 +27,7 @@ Abstract: #include <stdio.h>
#include <Common/UefiBaseTypes.h>
-#include "EfiCompress.h"
+#include "Compress.h"
#define UTILITY_NAME "EfiCompress"
#define UTILITY_MAJOR_VERSION 1
@@ -176,14 +176,14 @@ Returns: // Get destination data size and do the compression
//
DstSize = 0;
- Status = Compress (SrcBuffer, SrcSize, DstBuffer, &DstSize);
+ Status = EfiCompress (SrcBuffer, SrcSize, DstBuffer, &DstSize);
if (Status == EFI_BUFFER_TOO_SMALL) {
if ((DstBuffer = malloc (DstSize)) == NULL) {
printf ("Can't allocate memory\n");
goto Done;
}
- Status = Compress (SrcBuffer, SrcSize, DstBuffer, &DstSize);
+ Status = EfiCompress (SrcBuffer, SrcSize, DstBuffer, &DstSize);
}
if (EFI_ERROR (Status)) {
|