Add flush to the iocsh errlog command

This commit is contained in:
Andrew Johnson
2018-12-06 16:33:20 -06:00
parent 6664ccfc64
commit ee90dffd40

View File

@@ -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 */