[PATCH] Drop \n at the end of VIR_DEBUG messages

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

 



Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 src/conf/capabilities.c    | 2 +-
 src/util/virrotatingfile.c | 4 ++--
 tests/virnetsockettest.c   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c
index 326bd15cee..85f538e8c4 100644
--- a/src/conf/capabilities.c
+++ b/src/conf/capabilities.c
@@ -691,7 +691,7 @@ virCapabilitiesDomainDataLookupInternal(virCapsPtr caps,
                               machinetype, machine->name, NULLSTR(machine->canonical));
                     continue;
                 }
-                VIR_DEBUG("Match machine type machine %s\n", NULLSTR(machinetype));
+                VIR_DEBUG("Match machine type machine %s", NULLSTR(machinetype));
 
                 foundmachine = machine;
                 break;
diff --git a/src/util/virrotatingfile.c b/src/util/virrotatingfile.c
index ca62a8e026..d7dc3bd1ce 100644
--- a/src/util/virrotatingfile.c
+++ b/src/util/virrotatingfile.c
@@ -484,7 +484,7 @@ virRotatingFileWriterAppend(virRotatingFileWriterPtr file,
         if ((file->entry->pos == file->maxlen && len) ||
             forceRollover) {
             virRotatingFileWriterEntryPtr tmp;
-            VIR_DEBUG("Hit max size %zu on %s (force=%d)\n",
+            VIR_DEBUG("Hit max size %zu on %s (force=%d)",
                       file->maxlen, file->basepath, forceRollover);
 
             if (virRotatingFileWriterRollover(file) < 0)
@@ -571,7 +571,7 @@ virRotatingFileReaderConsume(virRotatingFileReaderPtr file,
 {
     ssize_t ret = 0;
 
-    VIR_DEBUG("Consume %p %zu\n", buf, len);
+    VIR_DEBUG("Consume %p %zu", buf, len);
     while (len) {
         virRotatingFileReaderEntryPtr entry;
         ssize_t got;
diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c
index 5927be1f80..7f52bf5c61 100644
--- a/tests/virnetsockettest.c
+++ b/tests/virnetsockettest.c
@@ -161,7 +161,7 @@ testSocketIncoming(virNetSocketPtr sock,
                    void *opaque)
 {
     virNetSocketPtr *retsock = opaque;
-    VIR_DEBUG("Incoming sock=%p events=%d\n", sock, events);
+    VIR_DEBUG("Incoming sock=%p events=%d", sock, events);
     *retsock = sock;
 }
 
-- 
2.19.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux