umount: Fix use of uninitialized variable

This commit is contained in:
Michael Forney 2019-03-12 20:38:26 -07:00 committed by sin
parent 140efda3a2
commit 3c88778c6c
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ umountall(int flags)
{
FILE *fp;
struct mntent *me;
int ret;
int ret = 0;
char **mntdirs = NULL;
int len = 0;