Commit 53db0e24 authored by Richard Genoud's avatar Richard Genoud Committed by Tom Rini
Browse files

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: default avatarJoao Marcos Costa <jmcosta944@gmail.com>
Signed-off-by: default avatarRichard Genoud <richard.genoud@posteo.net>
parent c9b8e86f
...@@ -359,7 +359,7 @@ static char *sqfs_get_abs_path(const char *base, const char *rel) ...@@ -359,7 +359,7 @@ static char *sqfs_get_abs_path(const char *base, const char *rel)
if (ret) if (ret)
goto free_r_tokens; goto free_r_tokens;
sqfs_tokenize(rel_tokens, rc, rel); ret = sqfs_tokenize(rel_tokens, rc, rel);
if (ret) if (ret)
goto free_r_tokens; goto free_r_tokens;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment