error: Fix error_printf() calls lacking newlines

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1470224274-31522-5-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Markus Armbruster 2016-08-03 13:37:54 +02:00
parent fea1c0999a
commit 7ea7d36e34
3 changed files with 3 additions and 3 deletions

View File

@ -381,7 +381,7 @@ ISADevice *pc_find_fdc0(void)
error_report("warning: multiple floppy disk controllers with " error_report("warning: multiple floppy disk controllers with "
"iobase=0x3f0 have been found"); "iobase=0x3f0 have been found");
error_printf("the one being picked for CMOS setup might not reflect " error_printf("the one being picked for CMOS setup might not reflect "
"your intent"); "your intent\n");
} }
return state.floppy; return state.floppy;

View File

@ -2143,7 +2143,7 @@ void kvm_device_access(int fd, int group, uint64_t attr,
if (err < 0) { if (err < 0) {
error_report("KVM_%s_DEVICE_ATTR failed: %s", error_report("KVM_%s_DEVICE_ATTR failed: %s",
write ? "SET" : "GET", strerror(-err)); write ? "SET" : "GET", strerror(-err));
error_printf("Group %d attr 0x%016" PRIx64, group, attr); error_printf("Group %d attr 0x%016" PRIx64 "\n", group, attr);
abort(); abort();
} }
} }

View File

@ -3201,7 +3201,7 @@ int vnc_display_password(const char *id, const char *password)
} }
if (vs->auth == VNC_AUTH_NONE) { if (vs->auth == VNC_AUTH_NONE) {
error_printf_unless_qmp("If you want use passwords please enable " error_printf_unless_qmp("If you want use passwords please enable "
"password auth using '-vnc ${dpy},password'."); "password auth using '-vnc ${dpy},password'.\n");
return -EINVAL; return -EINVAL;
} }