aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_domain.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_domain.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_domain.c')
-rw-r--r--tools/libxc/xc_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c
index c575eff831..ae323fe854 100644
--- a/tools/libxc/xc_domain.c
+++ b/tools/libxc/xc_domain.c
@@ -948,7 +948,7 @@ int xc_get_device_group(
if ( lock_pages(sdev_array, max_sdevs * sizeof(*sdev_array)) != 0 )
{
- PERROR("Could not lock memory for xc_get_device_group\n");
+ PERROR("Could not lock memory for xc_get_device_group");
return -ENOMEM;
}
rc = do_domctl(xch, &domctl);