From 66dce223d64131acc3a084abf40ebd75b6c069f1 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 9 Aug 2016 12:14:19 -0700 Subject: [PATCH] logging: Change the posix log fprintf to use `\r` only. (#351) --- examples/platforms/posix/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platforms/posix/logging.c b/examples/platforms/posix/logging.c index 5d842e0ea..e09300fda 100644 --- a/examples/platforms/posix/logging.c +++ b/examples/platforms/posix/logging.c @@ -135,6 +135,6 @@ void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat VerifyOrExit(charsWritten >= 0, logString[index] = 0); exit: - fprintf(stderr, "%s\r\n", logString); + fprintf(stderr, "%s\r", logString); }