diff options
| author | Markus Armbruster <armbru@redhat.com> | 2026-01-14 13:47:12 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2026-05-05 12:52:14 +0200 |
| commit | 0da15e16c3a9720cb3cbc2c987480bae0e5724bf (patch) | |
| tree | f9fc5cedbc1c88ce21ac287a8f5db18d0eef2590 /util | |
| parent | 523773743987bc7a16f485b5449732f6650f1003 (diff) | |
| download | qemu-0da15e16c3a9720cb3cbc2c987480bae0e5724bf.tar.gz qemu-0da15e16c3a9720cb3cbc2c987480bae0e5724bf.zip | |
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]
Diffstat (limited to 'util')
| -rw-r--r-- | util/error-report.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/error-report.c b/util/error-report.c index 92b04915ce..f832ad9b6b 100644 --- a/util/error-report.c +++ b/util/error-report.c @@ -70,6 +70,9 @@ int error_vprintf(const char *fmt, va_list ap) return error_vprintf_mon(monitor_cur(), fmt, ap); } +/* + * Print to the current HMP monitor if we have one, else to stderr. + */ int error_printf(const char *fmt, ...) { va_list ap; |
