Update the error log functionality to avoid losing writes

This commit is contained in:
Simon Rose authored and Andrew Johnson committed 2026-05-27 09:50:20 -05:00
1 parent bb5f12b2fa
commit b334ec80bb
3 files changed
+34 -9

No files matched your search

+1 -1
View File
@@ -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 */