summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-14 09:57:54 -0600
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:56 +0100
commita14a8c83e0781155255bc5e8677017cf6c6a2df3 (patch)
tree04587131010d9423ed619e867a69d97a8c683949
parentdf2dcb496e24bdc173bb9572c3cde5a2d606bd10 (diff)
Remove extra '\n' from red_printf() calls
red_printf() takes care of adding a newline to all messages; remove the extra newline from all messages and macros that were doubling them up. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r--common/spice_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spice_common.h b/common/spice_common.h
index d13a94f..434b179 100644
--- a/common/spice_common.h
+++ b/common/spice_common.h
@@ -55,7 +55,7 @@
} \
} while (0)
-#define WARN(format, ...) red_printf("warning: "format"\n", ##__VA_ARGS__ );
+#define WARN(format, ...) red_printf("warning: "format, ##__VA_ARGS__ );
#define WARN_ONCE red_printf_once
#define red_printf_some(every, format, ...) do { \