aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.h
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-07 17:48:35 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-07 17:48:35 +0000
commitff3ba258ad75c5bcf4ffb837c05104314c586c7d (patch)
treef5a9f38f7fa8c4b29176e9f3f582ed90515b6bca /tools/libxc/xc_private.h
parent4f2a113ba67dbdae178b2beb12a39dbaf0e70ff6 (diff)
downloadxen-ff3ba258ad75c5bcf4ffb837c05104314c586c7d.tar.gz
xen-ff3ba258ad75c5bcf4ffb837c05104314c586c7d.tar.bz2
xen-ff3ba258ad75c5bcf4ffb837c05104314c586c7d.zip
Fix PERROR.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r--tools/libxc/xc_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index 2ddec3f988..f087e7de69 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -63,7 +63,7 @@ void xc_set_error(int code, const char *fmt, ...);
#define ERROR(_m, _a...) xc_set_error(XC_INTERNAL_ERROR, _m , ## _a )
#define PERROR(_m, _a...) xc_set_error(XC_INTERNAL_ERROR, _m " (%d = %s)", \
- _m , ## _a , errno, strerror(errno))
+ ## _a , errno, strerror(errno))
int lock_pages(void *addr, size_t len);
void unlock_pages(void *addr, size_t len);