aboutsummaryrefslogtreecommitdiff
path: root/util/error-report.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-12-19 08:02:03 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-11 10:44:34 +0100
commitbeede7e848cc0ca30599644c19c078bbe3cd9d20 (patch)
treed49280a46c6a64a234b52b47f1305216fce85781 /util/error-report.c
parente4418354c0789330b57b06358d51d8ecc21eb39c (diff)
util/error: add G_GNUC_PRINTF for various functions
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221219130205.687815-5-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/error-report.c')
-rw-r--r--util/error-report.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/error-report.c b/util/error-report.c
index 5edb2e6040..6e44a55732 100644
--- a/util/error-report.c
+++ b/util/error-report.c
@@ -193,6 +193,7 @@ real_time_iso8601(void)
* a single phrase, with no newline or trailing punctuation.
* Prepend the current location and append a newline.
*/
+G_GNUC_PRINTF(2, 0)
static void vreport(report_type type, const char *fmt, va_list ap)
{
gchar *timestr;