mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Paolo Bonzini
parent
e4418354c0
commit
beede7e848
@@ -45,6 +45,7 @@ static void error_handle_fatal(Error **errp, Error *err)
|
||||
}
|
||||
}
|
||||
|
||||
G_GNUC_PRINTF(6, 0)
|
||||
static void error_setv(Error **errp,
|
||||
const char *src, int line, const char *func,
|
||||
ErrorClass err_class, const char *fmt, va_list ap,
|
||||
|
||||
Reference in New Issue
Block a user