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 <jan.kiszka@siemens.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Jan Kiszka 2015-04-24 19:41:26 +02:00 committed by Michael Tokarev
parent 29b558d877
commit c2cb2b041b
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp)
return; return;
} }
if (!fb->mem_path) { if (!fb->mem_path) {
error_setg(errp, "mem_path property not set"); error_setg(errp, "mem-path property not set");
return; return;
} }
#ifndef CONFIG_LINUX #ifndef CONFIG_LINUX