mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-01-22 20:44:01 +08:00
Not use itoa
This commit is contained in:
parent
0fa51b34ae
commit
3240b3d4a2
|
@ -441,7 +441,7 @@ chsrc_run (const char *cmd)
|
|||
else
|
||||
{
|
||||
char buf[8] = {0};
|
||||
itoa(status, buf, 10);
|
||||
sprintf (buf, "%d", status);
|
||||
char *str = xy_2strjoin ("命令执行失败,返回码 ", buf);
|
||||
xy_error_remarkably (App_Name, "运行", str);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user