@samitouri / QOSamiQemu / commits / 0da15e16c3

error: Restore error_printf()'s function comment

Lost in commit 397d30e9401 (qemu-error: remove dependency of stubs on monitor) many moons ago. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20260114124713.3308719-3-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> [Trivial conflict with commit a582a5784e5f (monitor: move error_vprintf back to error-report.c) resolved]

Markus Armbruster committed Jan 14, 2026 at 13:47 UTC 0da15e16c3a9720cb3cbc2c987480bae0e5724bf
1 file changed +3
util/error-report.c
+3
@@ -70,6 +70,9 @@ int error_vprintf(const char *fmt, va_list ap)
70 return error_vprintf_mon(monitor_cur(), fmt, ap);
71 }
72
73 +/*
74 + * Print to the current HMP monitor if we have one, else to stderr.
75 + */
76 int error_printf(const char *fmt, ...)
77 {
78 va_list ap;