renamed hawk_dflerrstr() to hawk_dfl_errstr().

removed the hawk_t* argument from hawk_dfl_errstr().
added the _cmd field to Hawk
This commit is contained in:
2020-01-15 04:59:36 +00:00
parent b7fecc3172
commit 27e0b5f4f7
8 changed files with 30 additions and 28 deletions

View File

@ -158,7 +158,7 @@ static hawk_int_t set_error_on_sys_list (hawk_rtx_t* rtx, sys_list_t* sys_list,
}
else
{
hawk_rtx_fmttooocstr (rtx, sys_list->ctx.errmsg, HAWK_COUNTOF(sys_list->ctx.errmsg), HAWK_T("%js"), hawk_geterrstr(hawk_rtx_gethawk(rtx))(hawk_rtx_gethawk(rtx), errnum));
hawk_rtx_fmttooocstr (rtx, sys_list->ctx.errmsg, HAWK_COUNTOF(sys_list->ctx.errmsg), HAWK_T("%js"), hawk_geterrstr(hawk_rtx_gethawk(rtx))(errnum));
}
return ERRNUM_TO_RC(errnum);
}