aboutsummaryrefslogtreecommitdiff
path: root/backends/rng-egd.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/rng-egd.c')
-rw-r--r--backends/rng-egd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/rng-egd.c b/backends/rng-egd.c
index 4de142b9dc..684c3cf3d6 100644
--- a/backends/rng-egd.c
+++ b/backends/rng-egd.c
@@ -116,7 +116,7 @@ static void rng_egd_set_chardev(Object *obj, const char *value, Error **errp)
RngEgd *s = RNG_EGD(b);
if (b->opened) {
- error_setg(errp, QERR_PERMISSION_DENIED);
+ error_setg(errp, "Property 'chardev' can no longer be set");
} else {
g_free(s->chr_name);
s->chr_name = g_strdup(value);