| Submitter | Luiz Capitulino |
|---|---|
| Date | April 5, 2010, 8:33 p.m. |
| Message ID | <1270499642-31543-12-git-send-email-lcapitulino@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/49453/ |
| State | New |
| Headers | show |
Comments
Patch
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 @@ int qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc) } } 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; }