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) {