X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/570be395dcde3f3b276ebfeb106f5fbf0818b829..c0bbac3af796bf66522d3c580f1596aef9d86002:/gcore.tproj/dyld.c diff --git a/gcore.tproj/dyld.c b/gcore.tproj/dyld.c index 0ff3958..92aeac1 100644 --- a/gcore.tproj/dyld.c +++ b/gcore.tproj/dyld.c @@ -174,9 +174,9 @@ libent_insert(const char *rawnm, const uuid_t uuid, uint64_t mhaddr, const nativ if (NULL != le) return le; // disallow multiple names for the same uuid - char *nm = realpath(rawnm, NULL); - if (NULL == nm) - nm = strdup(rawnm); + char *nm = realpath(rawnm, NULL); + if (NULL == nm) + nm = strdup(rawnm); const unsigned long nmhash = simple_namehash(nm); le = libent_lookup_bypathname_withhash(nm, nmhash); if (NULL != le) {