mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-15 10:21:19 -04:00
Merge pull request #97 from giuseppe/fix-type
main: fix type for flistxattr return
This commit is contained in:
commit
b92a6544cf
2
main.c
2
main.c
@ -2154,7 +2154,7 @@ ovl_access (fuse_req_t req, fuse_ino_t ino, int mask)
|
|||||||
static int
|
static int
|
||||||
copy_xattr (int sfd, int dfd, char *buf, size_t buf_size)
|
copy_xattr (int sfd, int dfd, char *buf, size_t buf_size)
|
||||||
{
|
{
|
||||||
size_t xattr_len;
|
ssize_t xattr_len;
|
||||||
|
|
||||||
xattr_len = flistxattr (sfd, buf, buf_size);
|
xattr_len = flistxattr (sfd, buf, buf_size);
|
||||||
if (xattr_len > 0)
|
if (xattr_len > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user