use iocshSetError()
This commit is contained in:
1 parent
eba8a13a2c
commit
4d5a677239
6 files changed
+11
-11
No files matched your search
@@ -39,7 +39,7 @@ static void asSetSubstitutionsCallFunc(const iocshArgBuf *args)
|
||||
static const iocshFuncDef asInitFuncDef = {"asInit",0};
|
||||
static void asInitCallFunc(const iocshArgBuf *args)
|
||||
{
|
||||
asInit();
|
||||
iocshSetError(asInit());
|
||||
}
|
||||
|
||||
/* asdbdump */
|
||||
|
||||
Reference in new issue
Block a user