From c2cb2b041b56e113e43da78528c9dfd8257e0206 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 24 Apr 2015 19:41:26 +0200 Subject: hostmem: Fix mem-path property name in error report The subtle difference between "property not found" and "property not set" is already confusing enough. Signed-off-by: Jan Kiszka Reviewed-by: Peter Crosthwaite Signed-off-by: Michael Tokarev --- backends/hostmem-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c index 51799943f1..4b55361010 100644 --- a/backends/hostmem-file.c +++ b/backends/hostmem-file.c @@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) return; } if (!fb->mem_path) { - error_setg(errp, "mem_path property not set"); + error_setg(errp, "mem-path property not set"); return; } #ifndef CONFIG_LINUX -- cgit v1.2.3