aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sqfs/write_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/write_xattr.c b/lib/sqfs/write_xattr.c
index ab2e28c..e81f677 100644
--- a/lib/sqfs/write_xattr.c
+++ b/lib/sqfs/write_xattr.c
@@ -185,7 +185,7 @@ int write_xattr(int outfd, fstree_t *fs, sqfs_super_t *super,
if ((size_t)ret < sizeof(idtbl))
goto fail_trunc;
- write_retry(outfd, tbl, sizeof(tbl[0]) * blocks);
+ ret = write_retry(outfd, tbl, sizeof(tbl[0]) * blocks);
if (ret < 0)
goto fail_wr;
if ((size_t)ret < sizeof(tbl[0]) * blocks)