diff options
Diffstat (limited to 'block/cow.c')
-rw-r--r-- | block/cow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/block/cow.c b/block/cow.c index 3a93ed9..909c3e7 100644 --- a/block/cow.c +++ b/block/cow.c @@ -316,8 +316,10 @@ static int cow_create(const char *filename, QEMUOptionParameter *options, options++; } - ret = bdrv_create_file(filename, options); + ret = bdrv_create_file(filename, options, &local_err); if (ret < 0) { + qerror_report_err(local_err); + error_free(local_err); return ret; } |