summaryrefslogtreecommitdiff
path: root/lout/debug.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lout/debug.hh')
-rw-r--r--lout/debug.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/lout/debug.hh b/lout/debug.hh
index e0d66a1b..40e27b13 100644
--- a/lout/debug.hh
+++ b/lout/debug.hh
@@ -38,7 +38,9 @@
#include <unistd.h>
#include <stdio.h>
-#define RTFL_PREFIX_FMT "[rtfl]%s:%d:%d:"
+// "\n" at the beginning just in case that the previous line is not finished
+// yet.
+#define RTFL_PREFIX_FMT "\n[rtfl]%s:%d:%d:"
#define RTFL_PREFIX_ARGS __FILE__, __LINE__, getpid()
#define DBG_OBJ_MSG(aspect, prio, msg) \