mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 01:16:30 -05:00
limit need to explicitly call .c_str()
This commit is contained in:
parent
7b4e1ea36d
commit
e93c946198
8 changed files with 96 additions and 10 deletions
|
|
@ -49,7 +49,7 @@ _link_create_path_core(const string &oldbasepath,
|
|||
if(oldbasepath != newbasepath)
|
||||
{
|
||||
const ugid::SetRootGuard ugidGuard;
|
||||
rv = fs::clonepath(newbasepath,oldbasepath,newfusedirpath.c_str());
|
||||
rv = fs::clonepath(newbasepath,oldbasepath,newfusedirpath);
|
||||
if(rv == -1)
|
||||
return errno;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue