]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Assemble: don't ignore the return value from stat.
authorNeilBrown <neilb@suse.de>
Wed, 4 Mar 2015 04:55:44 +0000 (15:55 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 4 Mar 2015 04:56:52 +0000 (15:56 +1100)
commite9e6894d4bda07037433dbf14b0cabc7273a1337
tree93d409f59b562048e2e69e3b8b4294033467e7e9
parent68641cdb646eaa15099c1d6cfff1eaa5dd2ac841
Assemble: don't ignore the return value from stat.

static checkers complain about that.
So change the code to use 'fstat', as we really don't want
to see an error here..

Reported-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c