diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2020-05-04 10:35:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-05 07:55:47 +0200 |
commit | 8a92fae86eb261ee9349a5d148d5c9d865c91177 (patch) | |
tree | 48d87d4c4a3fecb4a365db770c913502e63c9ba0 /scripts/mips-relocs.c | |
parent | f62bb30044dbad752bf0414239f793585d66960c (diff) | |
download | barebox-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