summaryrefslogtreecommitdiffhomepage
path: root/src/ldso
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-15 23:51:24 -0400
committermidipix <writeonce@midipix.org>2017-10-15 23:51:24 -0400
commit49f412394160f539fe565284131dcbd8d6973f0d (patch)
tree9c879beb15caa5460c14cd5bc2354319a49f7ab4 /src/ldso
parent669023ec62d0c27a092787aa89a061166b6e1080 (diff)
downloadpemagine-49f412394160f539fe565284131dcbd8d6973f0d.tar.bz2
pemagine-49f412394160f539fe565284131dcbd8d6973f0d.tar.xz
pe_find_framework_loader(): fixed typo.
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/pe_find_framework_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/pe_find_framework_loader.c b/src/ldso/pe_find_framework_loader.c
index 8096ea8..c138d32 100644
--- a/src/ldso/pe_find_framework_loader.c
+++ b/src/ldso/pe_find_framework_loader.c
@@ -69,7 +69,7 @@ int32_t pe_find_framework_loader(
wch_cap = basename + 512;
for (; *wch && wch<wch_cap; wch++)
- if ((*wch == '\\') != (*wch == '/'))
+ if ((*wch == '\\') || (*wch == '/'))
return OS_STATUS_INVALID_PARAMETER;
if (*wch)