]> git.proxmox.com Git - mirror_qemu.git/blobdiff - backends/rng.c
qerror: Clean up QERR_ macros to expand into a single string
[mirror_qemu.git] / backends / rng.c
index 0f2fc11dd816b168e7ea9acbc1888b19f8725960..5065fdc1550b52ae432ab1bfa154536feaecedce 100644 (file)
@@ -57,7 +57,7 @@ static void rng_backend_prop_set_opened(Object *obj, bool value, Error **errp)
     }
 
     if (!value && s->opened) {
-        error_set(errp, QERR_PERMISSION_DENIED);
+        error_setg(errp, QERR_PERMISSION_DENIED);
         return;
     }