debug_symbol: Fix warning message format

This commit is contained in:
kichikuou
2024-12-26 08:37:14 +09:00
parent 4c57c98e67
commit 49126c506d
+1 -1
View File
@@ -216,7 +216,7 @@ struct debug_symbols *dsym_load(const char *path) {
return NULL;
}
if (fread(section_content, section_size - 8, 1, fp) != 1) {
WARNING("%s: I/O error", path, strerror(errno));
WARNING("%s: %s", path, strerror(errno));
fclose(fp);
return NULL;
}