mirror of https://github.com/thesofproject/sof.git
fuzzer: fix return value of topology loader.
Return the real error code. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
8cd194e624
commit
5dce3fb8fb
|
@ -329,7 +329,7 @@ int parse_tplg(struct fuzz *fuzzer, char *tplg_filename)
|
||||||
if (!fuzzer->tplg_file) {
|
if (!fuzzer->tplg_file) {
|
||||||
fprintf(stderr, "error: opening topology file %s\n",
|
fprintf(stderr, "error: opening topology file %s\n",
|
||||||
tplg_filename);
|
tplg_filename);
|
||||||
return -EINVAL;
|
return -errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* file size */
|
/* file size */
|
||||||
|
|
Loading…
Reference in New Issue