]> Git Repo - qemu.git/blobdiff - block/raw_bsd.c
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
[qemu.git] / block / raw_bsd.c
index af8706dc9725f8ad9d2ed610d66cf6fbfb678b9c..01ea692a46d1ac996f5875728469db010d51e292 100644 (file)
@@ -146,7 +146,7 @@ static int raw_create(const char *filename, QEMUOptionParameter *options,
     int ret;
 
     ret = bdrv_create_file(filename, options, &local_err);
-    if (error_is_set(&local_err)) {
+    if (local_err) {
         error_propagate(errp, local_err);
     }
     return ret;
This page took 0.02347 seconds and 4 git commands to generate.