mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
qemu-io: Remove duplicate 'open' error message
qemu_opts_parse_noisily() already prints an error message with the exact reason why the parsing failed. No need to add another less specific one. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
4d2cb09251
commit
ff7cfd7d92
1 changed files with 0 additions and 1 deletions
|
|
@ -156,7 +156,6 @@ static int open_f(BlockBackend *blk, int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
if (!qemu_opts_parse_noisily(&empty_opts, optarg, false)) {
|
if (!qemu_opts_parse_noisily(&empty_opts, optarg, false)) {
|
||||||
printf("could not parse option list -- %s\n", optarg);
|
|
||||||
qemu_opts_reset(&empty_opts);
|
qemu_opts_reset(&empty_opts);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue