diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 3e358098..9a98f19f 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -153,7 +153,7 @@ namespace l return -errno; cache.insert(fusepath_,basepaths[0]); - basepath = basepaths[0]; + basepath = basepaths[0].c_str(); } fullpath = fs::path::make(basepath.value(),fusepath_);