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_solaris.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_solaris.c')
-rw-r--r-- | tools/libxc/xc_solaris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c index b4830dec19..53ec642a8b 100644 --- a/tools/libxc/xc_solaris.c +++ b/tools/libxc/xc_solaris.c @@ -139,7 +139,7 @@ void *xc_map_foreign_ranges(xc_interface *xch, uint32_t dom, ioctl_failed: rc = munmap(addr, size); if (rc == -1) - PERROR("%s: error in error path\n", __FUNCTION__); + PERROR("%s: error in error path", __FUNCTION__); mmap_failed: return NULL; |