From c372ec7a254147f70d62c1f72da5806d42df6994 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 5 Sep 2019 10:36:23 -0400 Subject: [PATCH 33/62] Fix a use of strlen() instead of Strlen() Signed-off-by: Peter Jones Upstream-commit-id: 1870bae7960 --- shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim.c b/shim.c index 16911a37b17..a0eb19b91fe 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: -- 2.26.2