[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 04/11] numa: remove superfluous '\n' around error_
From: |
arei.gonglei |
Subject: |
[Qemu-trivial] [PATCH 04/11] numa: remove superfluous '\n' around error_setg |
Date: |
Wed, 11 Feb 2015 12:12:07 +0800 |
From: Gonglei <address@hidden>
Signed-off-by: Gonglei <address@hidden>
---
numa.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/numa.c b/numa.c
index afd2866..6decd13 100644
--- a/numa.c
+++ b/numa.c
@@ -59,7 +59,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts
*opts, Error **errp)
if (nodenr >= MAX_NODES) {
error_setg(errp, "Max number of NUMA nodes reached: %"
- PRIu16 "\n", nodenr);
+ PRIu16 "", nodenr);
return;
}
@@ -78,7 +78,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts
*opts, Error **errp)
}
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;
}
@@ -87,7 +87,7 @@ static void numa_node_parse(NumaNodeOptions *node, QemuOpts
*opts, Error **errp)
}
if (node->has_memdev != have_memdevs) {
error_setg(errp, "qemu: memdev option must be specified for either "
- "all or no nodes\n");
+ "all or no nodes");
return;
}
--
1.7.12.4
- [Qemu-trivial] [PATCH 00/11] trivial: Remove superfluous '\n' around error_report/error_setg, arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 05/11] Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 03/11] pl330.c: remove superfluous '\n' around error_setg, arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 09/11] tpm: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 10/11] arm/digic_boards: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 08/11] xtensa: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 07/11] vfio: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 04/11] numa: remove superfluous '\n' around error_setg,
arei.gonglei <=
- [Qemu-trivial] [PATCH 01/11] block: remove superfluous '\n' around error_report/error_setg, arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 02/11] a9gtimer: remove superfluous '\n' around error_setg, arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 11/11] vhost: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- [Qemu-trivial] [PATCH 06/11] vhost-scsi: Remove superfluous '\n' around error_report(), arei.gonglei, 2015/02/10
- Re: [Qemu-trivial] [Qemu-devel] [PATCH 00/11] trivial: Remove superfluous '\n' around error_report/error_setg, Markus Armbruster, 2015/02/11