]> git.proxmox.com Git - qemu.git/blobdiff - qga/guest-agent-core.h
qga: Fix compiler warnings (missing format attribute, wrong format strings)
[qemu.git] / qga / guest-agent-core.h
index 624a559d941d4f067086061a940bb4ebedab229a..e422208b4e8057ca98f8ab4e2c70ba311c7bfdd8 100644 (file)
@@ -29,7 +29,7 @@ GACommandState *ga_command_state_new(void);
 bool ga_logging_enabled(GAState *s);
 void ga_disable_logging(GAState *s);
 void ga_enable_logging(GAState *s);
-void slog(const gchar *fmt, ...);
+void GCC_FMT_ATTR(1, 2) slog(const gchar *fmt, ...);
 void ga_set_response_delimited(GAState *s);
 bool ga_is_frozen(GAState *s);
 void ga_set_frozen(GAState *s);