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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user