diff options
author | Luca Berra <bluca@comedia.it> | 2011-06-17 06:35:06 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-17 06:35:06 +0200 |
commit | e4c72d1dc69e576ca97163a3d4f44394e9bdd3ed (patch) | |
tree | b26effb2332d116027b31ef48cb81759a1336c69 /mdmon.c | |
parent | Various fixes so that "make everything" works. (diff) | |
download | mdadm-e4c72d1dc69e576ca97163a3d4f44394e9bdd3ed.tar.xz mdadm-e4c72d1dc69e576ca97163a3d4f44394e9bdd3ed.zip |
Fix some compiler warnings.
Original by Luca, with various changes by Neil
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -514,6 +514,12 @@ static int mdmon(char *devname, int devnum, int must_fork, int takeover) ignore = dup(0); #endif + /* This silliness is to stop the compiler complaining + * that we ignore 'ignore' + */ + if (ignore) + ignore++; + do_manager(container); exit(0); |