Commit 814928c8 by Stéphane Graber

Fix uninitialized value in lxc_try_cmd

parent 9c073d6b
...@@ -293,7 +293,7 @@ out: ...@@ -293,7 +293,7 @@ out:
int lxc_try_cmd(const char *name, const char *lxcpath) int lxc_try_cmd(const char *name, const char *lxcpath)
{ {
int stopped, ret; int stopped = 0, ret;
struct lxc_cmd_rr cmd = { struct lxc_cmd_rr cmd = {
.req = { .cmd = LXC_CMD_GET_INIT_PID }, .req = { .cmd = LXC_CMD_GET_INIT_PID },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment