Skip to contentSkip to conversation

libxl: add a newline to xl logging

PATCH New Stefano Stabellini 1 participant 1 message Jan 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: add a newline to xl logging

Hi all,
this patch adds a newline to the xl.c LOG macro.

---

tools/libxl/xl.c +1 -1
diff -r 5c9f08de58fc tools/libxl/xl.c
@@ -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, ...)
 {