commit 3c88778c6c85d97fb63c41c05304519e0484b07c
Author: Michael Forney <[email protected]>
AuthorDate: Tue Mar 12 20:38:26 2019 -0700
Commit: sin <[email protected]>
CommitDate: Thu Mar 14 11:42:59 2019 +0000
umount: Fix use of uninitialized variable
diff --git a/umount.c b/umount.c
index 7f9e174..c6d6d9a 100644
--- a/umount.c
+++ b/umount.c
@@ -13,7 +13,7 @@ umountall(int flags)
{
FILE *fp;
struct mntent *me;
- int ret;
+ int ret = 0;
char **mntdirs = NULL;
int len = 0;
@@ -83,4 +83,4 @@ main(int argc, char *argv[])
}
}
return ret;
-}
\ No newline at end of file
+}