]> asedeno.scripts.mit.edu Git - linux.git/commit
kbuild: fixdep: Check fstat(2) return value
authorTom Rini <trini@konsulko.com>
Mon, 7 Dec 2015 21:26:08 +0000 (16:26 -0500)
committerMichal Marek <mmarek@suse.com>
Wed, 17 Feb 2016 21:52:04 +0000 (22:52 +0100)
commit46fe94ad18aa7ce6b3dad8c035fb538942020f2b
treeef7acb440291f285efdb6dc910aec8c1abf1db70
parenta043934207c5eb271deeaed2e9bd019c3be92cad
kbuild: fixdep: Check fstat(2) return value

Coverity has recently added a check that will find when we don't check
the return code from fstat(2).  Copy/paste the checking logic that
print_deps() has with an appropriate re-wording of the perror() message.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/basic/fixdep.c