diff --git a/tools/fuzzer/topology.c b/tools/fuzzer/topology.c index 07318aeb4..cd06f2ff5 100644 --- a/tools/fuzzer/topology.c +++ b/tools/fuzzer/topology.c @@ -329,7 +329,7 @@ int parse_tplg(struct fuzz *fuzzer, char *tplg_filename) if (!fuzzer->tplg_file) { fprintf(stderr, "error: opening topology file %s\n", tplg_filename); - return -EINVAL; + return -errno; } /* file size */