summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-14 09:57:54 -0600
committerAlon Levy <alevy@redhat.com>2012-02-14 18:19:29 +0200
commit08c514ee853444ab158aa461b07b1921bb931a29 (patch)
tree75411cc5291c84d69812cdfc36ebce011fd4aff6 /common
parente4a92b177ab89d17505a3bc013a2c927b55c50da (diff)
downloadspice-08c514ee853444ab158aa461b07b1921bb931a29.tar.gz
spice-08c514ee853444ab158aa461b07b1921bb931a29.tar.xz
spice-08c514ee853444ab158aa461b07b1921bb931a29.zip
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>
Diffstat (limited to 'common')
-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 d13a94fd..434b179a 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 { \