From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtgTC-00070P-I8 for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:38:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtgTA-0001Nj-Kz for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:38:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtgTA-0001NS-FF for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:38:08 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 3050EC100441 for ; Tue, 3 Nov 2015 18:38:08 +0000 (UTC) From: Markus Armbruster Date: Tue, 3 Nov 2015 19:38:01 +0100 Message-Id: <1446575883-24544-6-git-send-email-armbru@redhat.com> In-Reply-To: <1446575883-24544-1-git-send-email-armbru@redhat.com> References: <1446575883-24544-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 5/7] vl.c: Touch up error messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost From: Eduardo Habkost Several small improvements: * Use "cannot" instead of "can not" * Use 'quotes' instead of `quotes' * Change "fail to parse" error message to "failed to parse" Suggested-by: Eric Blake Suggested-by: Andrew Jones Signed-off-by: Eduardo Habkost Message-Id: <1446217682-24421-6-git-send-email-ehabkost@redhat.com> [Squashed in Message-Id: <1446217682-24421-7-git-send-email-ehabkost@redhat.com> Message-Id: <1446217682-24421-9-git-send-email-ehabkost@redhat.com> and updated commit message] Signed-off-by: Markus Armbruster --- vl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vl.c b/vl.c index 544dfe1..2d48e22 100644 --- a/vl.c +++ b/vl.c @@ -965,7 +965,7 @@ static struct bt_device_s *bt_device_add(const char *opt) if (!strcmp(devname, "keyboard")) return bt_keyboard_init(vlan); - error_report("unsupported bluetooth device `%s'", devname); + error_report("unsupported bluetooth device '%s'", devname); return 0; } @@ -3735,7 +3735,7 @@ int main(int argc, char **argv, char **envp) break; case QEMU_OPTION_uuid: if(qemu_uuid_parse(optarg, qemu_uuid) < 0) { - error_report("fail to parse UUID string: wrong format"); + error_report("failed to parse UUID string: wrong format"); exit(1); } qemu_uuid_set = true; @@ -4166,12 +4166,12 @@ int main(int argc, char **argv, char **envp) if (display_type == DT_NOGRAPHIC && (default_parallel || default_serial || default_monitor || default_virtcon)) { - error_report("-nographic can not be used with -daemonize"); + error_report("-nographic cannot be used with -daemonize"); exit(1); } #ifdef CONFIG_CURSES if (display_type == DT_CURSES) { - error_report("curses display can not be used with -daemonize"); + error_report("curses display cannot be used with -daemonize"); exit(1); } #endif @@ -4576,7 +4576,7 @@ int main(int argc, char **argv, char **envp) vnc_init_func, NULL, NULL); if (show_vnc_port) { char *ret = vnc_display_local_addr("default"); - printf("VNC server running on `%s'\n", ret); + printf("VNC server running on '%s'\n", ret); g_free(ret); } #endif -- 2.4.3