Stefano Stabellini
2010-Jan-14 15:39 UTC
[Xen-devel] [PATCH] libxl: add a newline to xl logging
Hi all, this patch adds a newline to the xl.c LOG macro. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff -r 5c9f08de58fc tools/libxl/xl.c --- a/tools/libxl/xl.c Thu Jan 14 15:30:02 2010 +0000 +++ b/tools/libxl/xl.c Thu Jan 14 15:37:43 2010 +0000 @@ -68,7 +68,7 @@ return libxl_name_to_domid(ctx, p, domid); } -#define LOG(_f, _a...) dolog(__FILE__, __LINE__, __func__, _f, ##_a) +#define LOG(_f, _a...) dolog(__FILE__, __LINE__, __func__, _f "\n", ##_a) void dolog(const char *file, int line, const char *func, char *fmt, ...) { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel