From 8f41b0d68876844d3eb95e04e312d5fd1ecf0841 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 19 May 2019 23:46:01 +0200 Subject: rdsquashfs: fix read_inode_slink_ext return Return the actual object, not 0. Signed-off-by: David Oberhollenzer --- lib/sqfs/read_inode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sqfs') 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, -- cgit v1.2.3