Fix a crash in the FreeBSD part of loolmount due to uninitialized variables.

Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I734a53d7e7e735549ebe8a78ad478614967c4159
This commit is contained in:
Gleb Popov 2021-04-24 11:35:54 +03:00 committed by Michael Meeks
parent 5751a7e2b0
commit 32c3488b91

View file

@ -67,8 +67,8 @@ int mount_wrapper(const char *source, const char *target,
const char *filesystemtype, unsigned long mountflags,
const void *data)
{
struct iovec *iov;
int iovlen;
struct iovec *iov = NULL;
int iovlen = 0;
int freebsd_flags = 0;
(void)data;