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 +}