提交 77d118b4 编写于 作者: J Jim Meyering

openvzDomainDefineCmd: remove useless increment

* src/openvz/openvz_driver.c (openvzDomainDefineCmd): Remove
useless increment of "max_veid".
上级 27efcfb7
......@@ -166,7 +166,7 @@ openvzDomainDefineCmd(virConnectPtr conn,
max_veid++;
}
sprintf(str_id, "%d", max_veid++);
sprintf(str_id, "%d", max_veid);
ADD_ARG_LIT(str_id);
ADD_ARG_LIT("--name");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册