mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 02:48:59 -04:00
Fix constructing string from attrval setxattr config (#1508)
This commit is contained in:
parent
24e778b95a
commit
df19f99976
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ _setxattr_ctrl_file(const char *attrname_,
|
|||
if((flags_ & XATTR_CREATE) == XATTR_CREATE)
|
||||
return -EEXIST;
|
||||
|
||||
rv = cfg->set(key,attrval_);
|
||||
rv = cfg->set(key,std::string{attrval_,attrvalsize_});
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue