summaryrefslogtreecommitdiff
path: root/lib/sqfs/read_inode.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-19 23:46:01 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-19 23:46:01 +0200
commit8f41b0d68876844d3eb95e04e312d5fd1ecf0841 (patch)
treed8003a01e1de0cb8717bf1c45d827e50bfb140c0 /lib/sqfs/read_inode.c
parent4946d7334582cd56c8d5487e0906fd9714c12d0b (diff)
rdsquashfs: fix read_inode_slink_ext return
Return the actual object, not 0. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/read_inode.c')
-rw-r--r--lib/sqfs/read_inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqfs/read_inode.c b/lib/sqfs/read_inode.c
index 71b3a54..c6c932c 100644
--- a/lib/sqfs/read_inode.c
+++ b/lib/sqfs/read_inode.c
@@ -190,7 +190,8 @@ static sqfs_inode_generic_t *read_inode_slink_ext(meta_reader_t *ir,
out->data.slink_ext.xattr_idx = le32toh(xattr);
}
- return 0;
+
+ return out;
}
sqfs_inode_generic_t *meta_reader_read_inode(meta_reader_t *ir,