Commit 0f56da31 authored by Alessandro Rubini's avatar Alessandro Rubini

tools: fix a warning of mine

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 908086b0
......@@ -204,7 +204,7 @@ static char *load_binary_file(const char *filename, size_t *size)
return NULL;
}
if (i != stbuf.st_size) {
fprintf(stderr, "%s: short read\n", filename, strerror(errno));
fprintf(stderr, "%s: short read\n", filename);
free(buf);
return NULL;
}
......
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