mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
8e8a9dc3fa
commit
602ecdf2ab
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue