Add missing \n
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 18 Feb 2021 16:43:52 +0000 (11:43 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 18 Feb 2021 16:43:52 +0000 (11:43 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lttng-trace.c

index 7cef9138eb3c03d7b0149a8ce0f23b44984943c5..469fc201b8c40dfc1684ccdf194216b667f9d2c8 100644 (file)
 #endif
 
 #define PERROR(msg)            perror(msg "\n")
-#define ERR(fmt, args...)      fprintf(stderr, fmt, ## args)
+#define ERR(fmt, args...)      fprintf(stderr, fmt "\n", ## args)
 
 #ifdef DEBUG
-#define DBG(fmt, args...)      printf(fmt, ## args)
+#define DBG(fmt, args...)      printf(fmt "\n", ## args)
 #else
 #define DBG(fmt, args...)
 #endif
This page took 0.023791 seconds and 4 git commands to generate.