Fix uninitialised variable compile warning.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
This commit is contained in:
Neil Brown 2005-04-04 05:16:31 +00:00
parent e6b64cd05c
commit a0ef61bfad
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ int open_mddev(char *dev, int autof)
int mdfd;
struct stat stb;
int major = MD_MAJOR;
int minor;
int minor = 0;
int must_remove = 0;
struct mdstat_ent *mdlist;
int num;