commit | db716e9c16737d2575143d88a73ed1dec8dec0fb | [log] [tgz] |
---|---|---|
author | Markus Armbruster <[email protected]> | Thu Mar 25 17:22:37 2010 +0100 |
committer | Aurelien Jarno <[email protected]> | Sun Apr 18 23:46:48 2010 +0200 |
tree | a254f762267378abf50ef6d2893747e47532ebde | |
parent | e17ba87c52fc7d4ccfd5074428ce19f1b876ba30 [diff] [blame] |
error: Convert qemu_opts_validate() to QError Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
diff --git a/qemu-option.c b/qemu-option.c index 394c763..1ffc497 100644 --- a/qemu-option.c +++ b/qemu-option.c
@@ -877,8 +877,7 @@ } } if (desc[i].name == NULL) { - fprintf(stderr, "option \"%s\" is not valid for %s\n", - opt->name, opts->list->name); + qerror_report(QERR_INVALID_PARAMETER, opt->name); return -1; }