Unverified Commit 31d55f8f by Stéphane Graber Committed by GitHub

Merge pull request #2896 from brauner/lxc/master

conf: avoid compiler warning
parents b5bd9e11 41e00749
......@@ -2770,7 +2770,7 @@ struct lxc_conf *lxc_conf_init(void)
int write_id_mapping(enum idtype idtype, pid_t pid, const char *buf,
size_t buf_size)
{
__do_close_prot_errno int fd = 0;
__do_close_prot_errno int fd = -EBADF;
int ret;
char path[PATH_MAX];
......
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