From: Jiri Denemark Date: Mon, 17 Sep 2018 15:06:30 +0000 (+0200) Subject: Drop \n at the end of VIR_DEBUG messages X-Git-Tag: v4.8.0-rc1~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=602ecdf2ab4b27d255c45e9980282f0c17ff6c2c;p=thirdparty%2Flibvirt.git Drop \n at the end of VIR_DEBUG messages Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- 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; }