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.
This commit is contained in:
Chih-Wei Huang 2009-05-08 10:44:30 +08:00
parent 7be77b5ba8
commit 1ecad9a95c
1 changed files with 1 additions and 1 deletions

View File

@ -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;