提交 01bbbcf4 编写于 作者: G Gonglei 提交者: Michael Tokarev

numa: remove superfluous '\n' around error_setg

Signed-off-by: NGonglei <arei.gonglei@huawei.com>
Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 0c267a6b
...@@ -66,7 +66,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp) ...@@ -66,7 +66,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp)
if (nodenr >= MAX_NODES) { if (nodenr >= MAX_NODES) {
error_setg(errp, "Max number of NUMA nodes reached: %" error_setg(errp, "Max number of NUMA nodes reached: %"
PRIu16 "\n", nodenr); PRIu16 "", nodenr);
return; return;
} }
...@@ -85,7 +85,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp) ...@@ -85,7 +85,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp)
} }
if (node->has_mem && node->has_memdev) { if (node->has_mem && node->has_memdev) {
error_setg(errp, "qemu: cannot specify both mem= and memdev=\n"); error_setg(errp, "qemu: cannot specify both mem= and memdev=");
return; return;
} }
...@@ -94,7 +94,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp) ...@@ -94,7 +94,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts *opts, Error **errp)
} }
if (node->has_memdev != have_memdevs) { if (node->has_memdev != have_memdevs) {
error_setg(errp, "qemu: memdev option must be specified for either " error_setg(errp, "qemu: memdev option must be specified for either "
"all or no nodes\n"); "all or no nodes");
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册