diff --git a/src/mergerfs_api.cpp b/src/mergerfs_api.cpp index c6781d05..21242059 100644 --- a/src/mergerfs_api.cpp +++ b/src/mergerfs_api.cpp @@ -52,7 +52,7 @@ mergerfs::api::set_kv(const fs::path &mountpoint_, cfgfile = ::_mergerfs_config_file(mountpoint_); xattr_key = "user.mergerfs." + key_; - return fs::xattr::set(cfgfile,key,val_,0); + return fs::xattr::set(cfgfile,xattr_key,val_,0); } int