diff options
-rw-r--r-- | QcomModulePkg/Library/BootLib/Bootconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QcomModulePkg/Library/BootLib/Bootconfig.c b/QcomModulePkg/Library/BootLib/Bootconfig.c index 093768b6f1..41e5ebdf6d 100644 --- a/QcomModulePkg/Library/BootLib/Bootconfig.c +++ b/QcomModulePkg/Library/BootLib/Bootconfig.c @@ -57,7 +57,7 @@ CHAR8 Magic[] = "#BOOTCONFIG\n"; */ static BOOLEAN IsTrailerPresent (UINT64 BootconfigEndAddr) { - return !AsciiStrnCmp ((CHAR8*)(BootconfigEndAddr - V4_BOOTCONFIG_MAGIC_SIZE) + return !memcmp ((CHAR8*)(BootconfigEndAddr - V4_BOOTCONFIG_MAGIC_SIZE) , Magic, V4_BOOTCONFIG_MAGIC_SIZE); } /* |