arch/alpha/boot/tools/objstrip.c: wrong variable tested after open()
commit27258e448eb301cf89e351df87aa8cb916653bf2
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 22 Sep 2009 00:04:01 +0000 (21 17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (22 07:17 -0700)
tree02ac13d99be71f0f623d176e6ee5125e9507d965
parent4f543fa41e78bd366123424a3378f2f4918c0f33
arch/alpha/boot/tools/objstrip.c: wrong variable tested after open()

The incorrect variable is tested. fd is used for another open()
and is already tested.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/boot/tools/objstrip.c