summaryrefslogtreecommitdiffstats
path: root/client/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/utils.h')
-rw-r--r--client/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/utils.h b/client/utils.h
index 8f320085..c23e04fe 100644
--- a/client/utils.h
+++ b/client/utils.h
@@ -98,7 +98,7 @@ static inline void set_bit_be(const void* addr, int bit)
int str_to_port(const char *str);
void string_vprintf(std::string& str, const char* format, va_list ap);
-void string_printf(std::string& str, const char *format, ...);
+SPICE_GNUC_PRINTF(2, 3) void string_printf(std::string& str, const char *format, ...);
template<class T>
class FreeObject {