diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:38:18 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:38:18 +0100 |
commit | a2b5973ee0d143545a62903c629f800dc25f2837 (patch) | |
tree | 92c5d6aa33362fc2aabcebc0ea3a3e5d64d1321c /tools/libxc/xc_misc.c | |
parent | 861aef6e1558bebad8fc60c1c723f0706fd3ed87 (diff) | |
download | xen-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_misc.c')
-rw-r--r-- | tools/libxc/xc_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c index 5ec379589b..82d96d3691 100644 --- a/tools/libxc/xc_misc.c +++ b/tools/libxc/xc_misc.c @@ -142,7 +142,7 @@ int xc_mca_op(xc_interface *xch, struct xen_mc *mc) mc->interface_version = XEN_MCA_INTERFACE_VERSION; if ( lock_pages(mc, sizeof(mc)) ) { - PERROR("Could not lock xen_mc memory\n"); + PERROR("Could not lock xen_mc memory"); return -EINVAL; } |