From ee90dffd40afe5ff1b8b83cba172603d9f5b99a5 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 6 Dec 2018 16:33:20 -0600 Subject: [PATCH] Add flush to the iocsh errlog command --- src/libCom/iocsh/libComRegister.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libCom/iocsh/libComRegister.c b/src/libCom/iocsh/libComRegister.c index d8429fa9f..bf644624e 100644 --- a/src/libCom/iocsh/libComRegister.c +++ b/src/libCom/iocsh/libComRegister.c @@ -218,6 +218,7 @@ static const iocshFuncDef errlogFuncDef = {"errlog",1,errlogArgs}; static void errlogCallFunc(const iocshArgBuf *args) { errlogPrintfNoConsole("%s\n", args[0].sval); + errlogFlush(); } /* iocLogPrefix */