# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272970186 -3600
# Node ID 9f1e938261a40548c5403ed4ff92d2183e8d424d
# Parent 4cfcd77b0668a2140ab0c7e8dab56d82126caedd
xl: fix XL_LOG_ERRNOVAL output
Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/libxl_internal.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 4cfcd77b0668 -r 9f1e938261a4 tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h Tue May 04 11:48:10 2010 +0100
+++ b/tools/libxl/libxl_internal.h Tue May 04 11:49:46 2010 +0100
@@ -41,7 +41,7 @@
#ifdef XL_LOGGING_ENABLED
#define XL_LOG(ctx, loglevel, _f, _a...) xl_log(ctx, loglevel, -1, __FILE__,
__LINE__, __func__, _f, ##_a)
#define XL_LOG_ERRNO(ctx, loglevel, _f, _a...) xl_log(ctx, loglevel, errno,
__FILE__, __LINE__, __func__, _f, ##_a)
-#define XL_LOG_ERRNOVAL(ctx, errnoval, loglevel, _f, _a...) xl_log(ctx,
loglevel, errnoval, __FILE__, __LINE__, __func__, _f, ##_a)
+#define XL_LOG_ERRNOVAL(ctx, loglevel, errnoval, _f, _a...) xl_log(ctx,
loglevel, errnoval, __FILE__, __LINE__, __func__, _f, ##_a)
#else
#define XL_LOG(ctx, loglevel, _f, _a...)
#define XL_LOG_ERRNO(ctx, loglevel, _f, _a...)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|