use iocshSetError()

This commit is contained in:
Michael Davidsaver
2019-05-02 20:24:47 -07:00
parent eba8a13a2c
commit 4d5a677239
6 changed files with 11 additions and 11 deletions

View File

@@ -277,7 +277,7 @@ static const iocshFuncDef rrddFuncDef =
{"$subname", 1, rrddArgs};
static void rrddCallFunc(const iocshArgBuf *)
{
$subname(*iocshPpdbbase);
iocshSetError($subname(*iocshPpdbbase));
}
} // extern "C"