diff options
author | Max Reitz <mreitz@redhat.com> | 2013-09-06 17:14:26 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-09-12 10:12:48 +0200 |
commit | cc84d90ff54c025190dbe49ec5fea1268217c5f2 (patch) | |
tree | 44541b52ece4f55b5678087f83f3eb6cd91774aa /block/qcow2.c | |
parent | 34b5d2c68eb4082c288e70fb99c61af8f7b96fde (diff) | |
download | qemu-cc84d90ff54c025190dbe49ec5fea1268217c5f2.zip qemu-cc84d90ff54c025190dbe49ec5fea1268217c5f2.tar.gz qemu-cc84d90ff54c025190dbe49ec5fea1268217c5f2.tar.bz2 |
block: Error parameter for create functions
Add an Error ** parameter to bdrv_create and its associated functions to
allow more specific error messages.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r-- | block/qcow2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c index dabfe8d..b257347 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1365,7 +1365,7 @@ static int qcow2_create2(const char *filename, int64_t total_size, uint8_t* refcount_table; int ret; - ret = bdrv_create_file(filename, options); + ret = bdrv_create_file(filename, options, NULL); if (ret < 0) { return ret; } |