lib: libfile: Do not ignore errors in close()
Some character devices may perform meaningful operations in their
implementation of close() -- a good example would be socfpga.c which
checks if the FPGA was programmed succesfully in it's close() method
-- so ignoring return value of this call may cause false positives in
checking exit status for success.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 81caed9 commit c8a26925c974fa91c3a4e53f1a3bfd7bf57bcf98
@Andrey Smirnov Andrey Smirnov authored on 14 Aug 2015
Sascha Hauer committed on 19 Aug 2015
Showing 1 changed file
View
lib/libfile.c