summaryrefslogtreecommitdiffstats
path: root/scripts/mips-relocs.c
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2020-05-04 10:35:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-05 07:55:47 +0200
commit8a92fae86eb261ee9349a5d148d5c9d865c91177 (patch)
tree48d87d4c4a3fecb4a365db770c913502e63c9ba0 /scripts/mips-relocs.c
parentf62bb30044dbad752bf0414239f793585d66960c (diff)
downloadbarebox-8a92fae86eb261ee9349a5d148d5c9d865c91177.tar.gz
barebox-8a92fae86eb261ee9349a5d148d5c9d865c91177.tar.xz
scripts: bareboximd: fix write_file error handling
write will never return 0 on POSIX conformant systems. Remove this error path. Also, close the file on error. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/mips-relocs.c')
0 files changed, 0 insertions, 0 deletions