fs/squashfs: sqfs_get_abs_path: fix error check
the return value of sqfs_tokenize(rel_tokens, rc, rel); wasn't checked. (but "ret" value was !) This is obviouly a typo. Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
This commit is contained in:
parent
c9b8e86f8b
commit
53db0e24a8
@ -359,7 +359,7 @@ static char *sqfs_get_abs_path(const char *base, const char *rel)
|
||||
if (ret)
|
||||
goto free_r_tokens;
|
||||
|
||||
sqfs_tokenize(rel_tokens, rc, rel);
|
||||
ret = sqfs_tokenize(rel_tokens, rc, rel);
|
||||
if (ret)
|
||||
goto free_r_tokens;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user