openvzDomainDefineCmd: remove useless increment

* src/openvz/openvz_driver.c (openvzDomainDefineCmd): Remove
useless increment of "max_veid".
This commit is contained in:
Jim Meyering 2010-03-01 21:38:06 +01:00
parent 27efcfb7eb
commit 77d118b4ce

View File

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