mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:35:31 +00:00
parse: fix uninitialized value
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
parent
5fb2bc71b6
commit
9c3f0f02f8
@ -72,7 +72,7 @@ int lxc_strmunmap(void *addr, size_t length)
|
||||
int lxc_file_for_each_line_mmap(const char *file, lxc_file_cb callback, void *data)
|
||||
{
|
||||
int saved_errno;
|
||||
ssize_t ret, bytes_sent;
|
||||
ssize_t ret = -1, bytes_sent;
|
||||
char *line;
|
||||
int fd = -1, memfd = -1;
|
||||
char *buf = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user