From a6488131c8fe03f4ff910566206d6bbbf9c079c0 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 2 Apr 2017 04:33:21 +0200 Subject: [PATCH] log: do not use carriage return when printing output This allows us to prefix the output of villas-* tools See: tests/integration/node-loopback.sh --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index 8336a07a7..515cafd7d 100644 --- a/lib/log.c +++ b/lib/log.c @@ -233,7 +233,7 @@ void log_vprint(struct log *l, const char *lvl, const char *fmt, va_list ap) #ifdef ENABLE_OPAL_ASYNC OpalPrint("VILLASnode: %s\n", buf); #endif - fprintf(l->file, "\r%s\n", buf); + fprintf(l->file, "%s\n", buf); free(buf); }