attach: s/minus_one_set_errno(/ret_set_errno(-1, /g

parent fa85bdaa
......@@ -1005,10 +1005,10 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
}
if (!container)
return minus_one_set_errno(EINVAL);
return ret_set_errno(-1, EINVAL);
if (!lxc_container_get(container))
return minus_one_set_errno(EINVAL);
return ret_set_errno(-1, EINVAL);
name = container->name;
lxcpath = container->config_path;
......
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