提交 c2cb2b04 编写于 作者: J Jan Kiszka 提交者: Michael Tokarev

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: NJan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 29b558d8
...@@ -43,7 +43,7 @@ file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册