[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/2] libxc: remove trailing newline in xc_dom_panic format string
xc_dom_panic prints more information after user supplied strings, so don't print a newline. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/libxc/xc_dom_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c index 920fe42..acd7b3f 100644 --- a/tools/libxc/xc_dom_x86.c +++ b/tools/libxc/xc_dom_x86.c @@ -863,7 +863,7 @@ int arch_setup_meminit(struct xc_dom_image *dom) if ( total != dom->total_pages ) { xc_dom_panic(dom->xch, XC_INTERNAL_ERROR, - "%s: vNUMA page count mismatch (0x%"PRIpfn" != 0x%"PRIpfn")\n", + "%s: vNUMA page count mismatch (0x%"PRIpfn" != 0x%"PRIpfn")", __func__, total, dom->total_pages); return -EINVAL; } @@ -936,11 +936,11 @@ int arch_setup_meminit(struct xc_dom_image *dom) { if ( pnode != XC_NUMA_NO_NODE ) xc_dom_panic(dom->xch, XC_INTERNAL_ERROR, - "%s: failed to allocate 0x%"PRIx64" pages (v=%d, p=%d)\n", + "%s: failed to allocate 0x%"PRIx64" pages (v=%d, p=%d)", __func__, pages, i, pnode); else xc_dom_panic(dom->xch, XC_INTERNAL_ERROR, - "%s: failed to allocate 0x%"PRIx64" pages\n", + "%s: failed to allocate 0x%"PRIx64" pages", __func__, pages); return rc; } -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |