summaryrefslogtreecommitdiff
path: root/mkfs/dirscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/dirscan.c')
-rw-r--r--mkfs/dirscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/dirscan.c b/mkfs/dirscan.c
index 06f4d79..c0572f5 100644
--- a/mkfs/dirscan.c
+++ b/mkfs/dirscan.c
@@ -211,7 +211,7 @@ static int populate_dir(fstree_t *fs, tree_node_t *root, dev_t devstart,
if (ret) {
sqfs_perror(n->name,
"completing xattr key-value pairs", ret);
- return -1;
+ goto fail;
}
free(extra);