[spice] server: spice_debug() messages don't need a trailing '\n'.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>
---
 server/red_dispatcher.c | 2 +-
 server/reds.c           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
index fb8917a..88980ce 100644
--- a/server/red_dispatcher.c
+++ b/server/red_dispatcher.c
@@ -445,7 +445,7 @@ void red_dispatcher_client_monitors_config(VDAgentMonitorsConfig *monitors_confi
             !now->qxl->st->qif->client_monitors_config(now->qxl,
                                                        monitors_config)) {
             /* this is a normal condition, some qemu devices might not implement it */
-            spice_debug("QXLInterface::client_monitors_config failed\n");
+            spice_debug("QXLInterface::client_monitors_config failed");
         }
         now = now->next;
     }
diff --git a/server/reds.c b/server/reds.c
index d5f3d3a..552ddd8 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1003,11 +1003,11 @@ static void reds_on_main_agent_monitors_config(
     msg_header = (VDAgentMessage *)cmc->buffer;
     if (sizeof(VDAgentMessage) > cmc->buffer_size ||
             msg_header->size > cmc->buffer_size - sizeof(VDAgentMessage)) {
-        spice_debug("not enough data yet. %d\n", cmc->buffer_size);
+        spice_debug("not enough data yet. %d", cmc->buffer_size);
         return;
     }
     monitors_config = (VDAgentMonitorsConfig *)(cmc->buffer + sizeof(*msg_header));
-    spice_debug("%s: %d\n", __func__, monitors_config->num_of_monitors);
+    spice_debug("%s: %d", __func__, monitors_config->num_of_monitors);
     red_dispatcher_client_monitors_config(monitors_config);
     reds_client_monitors_config_cleanup();
 }
-- 
2.1.4
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]