Unverified Commit ccc1ab53 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

bugfix: fix wrong path in log for mk_symlink

parent 70a5c724
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -671,7 +671,7 @@ int adafs_mk_symlink(const std::string& path, const std::string& target_path) {


    auto link_md = adafs_metadata(path, false);
    auto link_md = adafs_metadata(path, false);
    if (link_md != nullptr) {
    if (link_md != nullptr) {
        CTX->log()->debug("{}() Link exists: '{}'", __func__, p_comp);
        CTX->log()->debug("{}() Link exists: '{}'", __func__, path);
        errno = EEXIST;
        errno = EEXIST;
        return -1;
        return -1;
    }
    }