aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-10-30 13:07:56 -0200
committerMarkus Armbruster <armbru@redhat.com>2015-11-03 09:38:20 +0100
commit4cd70f34afa817cfc891f6c64fd7e277ba561784 (patch)
tree69ff639a2d4ea774666d278414da77f2e7fb359c
parent3e5153732e96d870b3272e662234d664c15e3815 (diff)
vl.c: Touch up error messages
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 <eblake@redhat.com> Suggested-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> 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 <armbru@redhat.com>
-rw-r--r--vl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vl.c b/vl.c
index 544dfe1227..2d48e220c9 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