Not use itoa

This commit is contained in:
Aoran Zeng 2024-06-08 15:50:46 +08:00
parent 0fa51b34ae
commit 3240b3d4a2

View File

@ -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);
}