1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

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
This commit is contained in:
Steffen Vogel 2017-04-02 04:33:21 +02:00
parent 83841a8d1d
commit a6488131c8

View file

@ -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);
}