From: Alistair Francis Date: Wed, 12 Jul 2017 13:57:31 +0000 (-0700) Subject: util/qemu-error: Rename error_print_loc() to be more generic X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=beeb175c0db29a4be13625c3e53cf674c3be9267;p=qemu.git util/qemu-error: Rename error_print_loc() to be more generic Rename the error_print_loc() function in preparation for using it to print warnings as well. Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <661b215695db878a0aef8401b506fb3da50e981a.1499866456.git.alistair.francis@xilinx.com> Signed-off-by: Markus Armbruster --- diff --git a/util/qemu-error.c b/util/qemu-error.c index b331f8f4a4..1c5e35ecdb 100644 --- a/util/qemu-error.c +++ b/util/qemu-error.c @@ -146,7 +146,7 @@ const char *error_get_progname(void) /* * Print current location to current monitor if we have one, else to stderr. */ -static void error_print_loc(void) +static void print_loc(void) { const char *sep = ""; int i; @@ -197,7 +197,7 @@ void error_vreport(const char *fmt, va_list ap) g_free(timestr); } - error_print_loc(); + print_loc(); error_vprintf(fmt, ap); error_printf("\n"); }