Update the error log functionality to avoid losing writes
This commit is contained in:
1 parent
bb5f12b2fa
commit
b334ec80bb
3 files changed
+34
-9
No files matched your search
@@ -304,7 +304,7 @@ static const iocshFuncDef errlogBufResizeFuncDef = {
|
||||
};
|
||||
static void errlogBufResizeCallFunc(const iocshArgBuf *args)
|
||||
{
|
||||
errlogBufResize(args[0].ival, args[1].ival);
|
||||
iocshSetError(errlogBufResize(args[0].ival, args[1].ival));
|
||||
}
|
||||
|
||||
/* errlogShow */
|
||||
|
||||
Reference in new issue
Block a user