提交 23e749ce 编写于 作者: H haozi007

fix invalid format code

Signed-off-by: Nhaozi007 <liuhao27@huawei.com>
上级 3781e38d
......@@ -806,7 +806,7 @@ char *conf_get_isulad_log_gather_fifo_path()
ERROR("Out of memory");
goto err_out;
}
nret = snprintf(logfile, len, "%s%s", statedir, "LOG_GATHER_FIFO_NAME");
nret = snprintf(logfile, len, "%s%s", statedir, LOG_GATHER_FIFO_NAME);
if (nret < 0 || (size_t)nret >= len) {
ERROR("Sprintf log file failed");
goto err_out;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册