diff options
author | Neil Brown <neilb@suse.de> | 2005-04-04 07:16:31 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-04-04 07:16:31 +0200 |
commit | a0ef61bfadb2ab5868545199d0e0ca7661682bac (patch) | |
tree | 48d5a1be50b3f8ec33a8e18f731ef779c74d6218 | |
parent | Improve error message when mode is set twice. (diff) | |
download | mdadm-a0ef61bfadb2ab5868545199d0e0ca7661682bac.tar.xz mdadm-a0ef61bfadb2ab5868545199d0e0ca7661682bac.zip |
Fix uninitialised variable compile warning.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r-- | mdopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |