From 49126c506d6430699f315234c447765d4e918f62 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Thu, 26 Dec 2024 08:37:14 +0900 Subject: [PATCH] debug_symbol: Fix warning message format --- src/debug_symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug_symbol.c b/src/debug_symbol.c index 348c938..ccea520 100644 --- a/src/debug_symbol.c +++ b/src/debug_symbol.c @@ -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; }