Commit 4cd70f34 authored by Eduardo Habkost's avatar Eduardo Habkost Committed by Markus Armbruster
Browse files

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: default avatarEric Blake <eblake@redhat.com>
Suggested-by: default avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarEduardo 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: default avatarMarkus Armbruster <armbru@redhat.com>
parent 3e515373
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;
@@ -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