]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Drop \n at the end of VIR_DEBUG messages
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Sep 2018 15:06:30 +0000 (17:06 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Sep 2018 12:05:59 +0000 (14:05 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/capabilities.c
src/util/virrotatingfile.c
tests/virnetsockettest.c

index 326bd15ceeb3568e4d07f1ecb71a86841d85cc52..85f538e8c41fa848d1bfd3018e06b679b7029f45 100644 (file)
@@ -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;
index ca62a8e02641261bc03c3dfd3e74b8cf9e56c6f8..d7dc3bd1ce0f1cd01d85ab0d76dc451a8a63d51c 100644 (file)
@@ -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;
index 5927be1f80a989f59a9a3897b8bc8b9ecef53b49..7f52bf5c61e0b7cbe54363acda4b3a7552def8f1 100644 (file)
@@ -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;
 }