diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-21 19:42:26 -0400 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-04-25 09:19:59 -0400 |
commit | f231b88db14f13ee9a41599896f57f3594c1ca8b (patch) | |
tree | cc9ae0ba27b5d6718fbc78eb26ae6b3bdea02f52 /util/qemu-config.c | |
parent | d73f0beadb57f885e678bffc362864f4401262e0 (diff) | |
download | qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.zip qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.tar.gz qemu-f231b88db14f13ee9a41599896f57f3594c1ca8b.tar.bz2 |
qerror.h: Remove QERR defines that are only used once
Just hardcode them in the callers
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'util/qemu-config.c')
-rw-r--r-- | util/qemu-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-config.c b/util/qemu-config.c index f610101..bcf0b86 100644 --- a/util/qemu-config.c +++ b/util/qemu-config.c @@ -20,7 +20,7 @@ static QemuOptsList *find_list(QemuOptsList **lists, const char *group, break; } if (lists[i] == NULL) { - error_set(errp, QERR_INVALID_OPTION_GROUP, group); + error_setg(errp, "There is no option group '%s'", group); } return lists[i]; } |