aboutsummaryrefslogtreecommitdiff
path: root/util/error-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/error-report.c')
-rw-r--r--util/error-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/error-report.c b/util/error-report.c
index 71ce3ee700..d9d3ac30cf 100644
--- a/util/error-report.c
+++ b/util/error-report.c
@@ -156,7 +156,7 @@ static void print_loc(void)
const char *const *argp;
if (!monitor_cur() && g_get_prgname()) {
- fprintf(stderr, "%s:", g_get_prgname());
+ error_printf("%s:", g_get_prgname());
sep = " ";
}
switch (cur_loc->kind) {