diff options
author | Alon Levy <alevy@redhat.com> | 2012-04-04 16:07:29 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-04-24 12:16:06 +0300 |
commit | aa6cf3db29886ce964b9a5793e7ed0af6f213b57 (patch) | |
tree | 0742f6cee1db91abe6a34fd0684cf7b13057916b | |
parent | f7949ea1488223b8fcbfd1cba2d344d811ee62ca (diff) |
spiceqxl_io_port: use attribute printf (fix warning)
-rw-r--r-- | src/spiceqxl_io_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c index ea02ac1..050e7b9 100644 --- a/src/spiceqxl_io_port.c +++ b/src/spiceqxl_io_port.c @@ -58,7 +58,7 @@ static int spiceqxl_io_port_debug_level = -1; -static void dprint(int _level, const char *_fmt, ...) +static void __attribute__ ((format (printf, 2, 3))) dprint(int _level, const char *_fmt, ...) { if (spiceqxl_io_port_debug_level == -1) { if (getenv("XSPICE_IO_PORT_DEBUG_LEVEL")) { |