On Mon, May 04, 2020 at 10:35:41AM +0200, Steffen Trumtrar wrote: > 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.trumt...@pengutronix.de> > --- > scripts/bareboximd.c | 17 ++++++----------- > 1 file changed, 6 insertions(+), 11 deletions(-)
Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox