aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_resume.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-28 09:38:18 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-28 09:38:18 +0100
commita2b5973ee0d143545a62903c629f800dc25f2837 (patch)
tree92c5d6aa33362fc2aabcebc0ea3a3e5d64d1321c /tools/libxc/xc_resume.c
parent861aef6e1558bebad8fc60c1c723f0706fd3ed87 (diff)
downloadxen-a2b5973ee0d143545a62903c629f800dc25f2837.tar.gz
xen-a2b5973ee0d143545a62903c629f800dc25f2837.tar.bz2
xen-a2b5973ee0d143545a62903c629f800dc25f2837.zip
libxc: remove \n from strings passed to PERROR
Previously, the code was inconsistent: some calls to PERROR passed \n and some did not. With the new logging arrangements, passing \n is definitely incorrect. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_resume.c')
-rw-r--r--tools/libxc/xc_resume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_resume.c b/tools/libxc/xc_resume.c
index de93f412b9..7f85e3f6d8 100644
--- a/tools/libxc/xc_resume.c
+++ b/tools/libxc/xc_resume.c
@@ -47,7 +47,7 @@ static int modify_returncode(xc_interface *xch, uint32_t domid)
/* HVM guests have host address width. */
if ( xc_version(xch, XENVER_capabilities, &caps) != 0 )
{
- PERROR("Could not get Xen capabilities\n");
+ PERROR("Could not get Xen capabilities");
return -1;
}
dinfo->guest_width = strstr(caps, "x86_64") ? 8 : 4;