summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2019-09-05 10:36:23 -0400
committerPeter Jones <pjones@redhat.com>2020-07-23 20:53:15 -0400
commitc372ec7a254147f70d62c1f72da5806d42df6994 (patch)
tree49e28dcf9a062aa884408f48180e43b836f2c639
parent2cbf56b82a5102777b37c4f7f47c8cf058cea027 (diff)
downloadefi-boot-shim-c372ec7a254147f70d62c1f72da5806d42df6994.tar.gz
efi-boot-shim-c372ec7a254147f70d62c1f72da5806d42df6994.zip
Fix a use of strlen() instead of Strlen()
Signed-off-by: Peter Jones <pjones@redhat.com> Upstream-commit-id: 1870bae7960
-rw-r--r--shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index 16911a37..a0eb19b9 100644
--- a/shim.c
+++ b/shim.c
@@ -2118,7 +2118,7 @@ static int is_our_path(EFI_LOADED_IMAGE *li, CHAR16 *path)
dprint(L"dppath: %s\n", dppath);
dprint(L"path: %s\n", path);
- if (StrnCaseCmp(dppath, PathName, strlen(dppath)))
+ if (StrnCaseCmp(dppath, PathName, StrLen(dppath)))
ret = 0;
done: