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:
parent
5751a7e2b0
commit
32c3488b91
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue