Skip to content

Commit

Permalink
Fix a use of strlen() instead of Strlen()
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jones <pjones@redhat.com>
  • Loading branch information
vathpela committed Nov 22, 2019
1 parent 1ff88d8 commit 1870bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,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:
Expand Down

0 comments on commit 1870bae

Please sign in to comment.