summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorFam Zheng2017-04-21 14:27:01 +0200
committerMarkus Armbruster2017-04-24 09:12:59 +0200
commit9217283dc8ce48688ea0556763574c0333faf79c (patch)
tree73e7cbbf55c08c5c2d9daed8952d701770ef604b /include/block
parentsocket: Make errp the last parameter of vsock_connect_saddr (diff)
downloadqemu-9217283dc8ce48688ea0556763574c0333faf79c.tar.gz
qemu-9217283dc8ce48688ea0556763574c0333faf79c.tar.xz
qemu-9217283dc8ce48688ea0556763574c0333faf79c.zip
block: Make errp the last parameter of bdrv_img_create
Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170421122710.15373-6-famz@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 5ddc0cf21b..466de49b48 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -509,7 +509,7 @@ int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf,
void bdrv_img_create(const char *filename, const char *fmt,
const char *base_filename, const char *base_fmt,
char *options, uint64_t img_size, int flags,
- Error **errp, bool quiet);
+ bool quiet, Error **errp);
/* Returns the alignment in bytes that is required so that no bounce buffer
* is required throughout the stack */