Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ecad9a9 authored by Chih-Wei Huang's avatar Chih-Wei Huang
Browse files

Fix uninitialized variable loop

The following command will usually just fail

 # /system/bin/mount -t proc proc /proc
 ioctl LOOP_SET_FD failed: Bad file number

The simple patch fixes the issue.
parent 7be77b5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ int mount_main(int argc, char *argv[])
{
	char *type = NULL;
	int c;
	int loop;
	int loop = 0;

	progname = argv[0];
	rwflag = MS_VERBOSE;