mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
block: Add options QDict to bdrv_file_open() prototypes
The new parameter is unused yet. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
92b7a08d64
commit
787e4a8500
18 changed files with 51 additions and 29 deletions
|
@ -1766,7 +1766,7 @@ static int openfile(char *name, int flags, int growable)
|
|||
}
|
||||
|
||||
if (growable) {
|
||||
if (bdrv_file_open(&bs, name, flags)) {
|
||||
if (bdrv_file_open(&bs, name, NULL, flags)) {
|
||||
fprintf(stderr, "%s: can't open device %s\n", progname, name);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue