aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-05-13 10:39:13 +0200
committerKevin Wolf <kwolf@redhat.com>2015-09-14 16:51:36 +0200
commitff7cfd7d926eca40abeb9a1440829dc83facf54a (patch)
tree11286a4bb03e1ddaf1f14c91f9ba5b9e8bd2c4b0 /qemu-io.c
parent4d2cb0925176f3eb75ef8e5f9c02cc84d7930de2 (diff)
downloadqemu-ff7cfd7d926eca40abeb9a1440829dc83facf54a.zip
qemu-ff7cfd7d926eca40abeb9a1440829dc83facf54a.tar.gz
qemu-ff7cfd7d926eca40abeb9a1440829dc83facf54a.tar.bz2
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>
Diffstat (limited to 'qemu-io.c')
-rw-r--r--qemu-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-io.c b/qemu-io.c
index f1e3a67..269f17c 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -156,7 +156,6 @@ static int open_f(BlockBackend *blk, int argc, char **argv)
break;
case 'o':
if (!qemu_opts_parse_noisily(&empty_opts, optarg, false)) {
- printf("could not parse option list -- %s\n", optarg);
qemu_opts_reset(&empty_opts);
return 0;
}