Drop \n at the end of VIR_DEBUG messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Jiri Denemark 2018-09-17 17:06:30 +02:00
parent 8e8a9dc3fa
commit 602ecdf2ab
3 changed files with 4 additions and 4 deletions

View File

@ -691,7 +691,7 @@ virCapabilitiesDomainDataLookupInternal(virCapsPtr caps,
machinetype, machine->name, NULLSTR(machine->canonical)); machinetype, machine->name, NULLSTR(machine->canonical));
continue; continue;
} }
VIR_DEBUG("Match machine type machine %s\n", NULLSTR(machinetype)); VIR_DEBUG("Match machine type machine %s", NULLSTR(machinetype));
foundmachine = machine; foundmachine = machine;
break; break;

View File

@ -484,7 +484,7 @@ virRotatingFileWriterAppend(virRotatingFileWriterPtr file,
if ((file->entry->pos == file->maxlen && len) || if ((file->entry->pos == file->maxlen && len) ||
forceRollover) { forceRollover) {
virRotatingFileWriterEntryPtr tmp; 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); file->maxlen, file->basepath, forceRollover);
if (virRotatingFileWriterRollover(file) < 0) if (virRotatingFileWriterRollover(file) < 0)
@ -571,7 +571,7 @@ virRotatingFileReaderConsume(virRotatingFileReaderPtr file,
{ {
ssize_t ret = 0; ssize_t ret = 0;
VIR_DEBUG("Consume %p %zu\n", buf, len); VIR_DEBUG("Consume %p %zu", buf, len);
while (len) { while (len) {
virRotatingFileReaderEntryPtr entry; virRotatingFileReaderEntryPtr entry;
ssize_t got; ssize_t got;

View File

@ -161,7 +161,7 @@ testSocketIncoming(virNetSocketPtr sock,
void *opaque) void *opaque)
{ {
virNetSocketPtr *retsock = 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; *retsock = sock;
} }