mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 11:01:26 +00:00
conf: avoid compiler warning
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
1ae05901cc
commit
41e0074919
@ -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;
|
||||
__do_close_prot_errno int fd = -EBADF;
|
||||
int ret;
|
||||
char path[PATH_MAX];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user