limit need to explicitly call .c_str()

This commit is contained in:
Antonio SJ Musumeci 2016-12-22 15:53:17 -05:00
parent 7b4e1ea36d
commit e93c946198
8 changed files with 96 additions and 10 deletions

View file

@ -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;
}