[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxxxx>

---

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.