Fix uninitialized value in lxc_try_cmd

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2013-12-11 15:51:14 -05:00
parent 9c073d6b76
commit 814928c87a

View File

@ -293,7 +293,7 @@ out:
int lxc_try_cmd(const char *name, const char *lxcpath)
{
int stopped, ret;
int stopped = 0, ret;
struct lxc_cmd_rr cmd = {
.req = { .cmd = LXC_CMD_GET_INIT_PID },
};