]> git.dujemihanovic.xyz Git - u-boot.git/commit
envcrc: check return value of fwrite()
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Oct 2009 00:43:14 +0000 (20:43 -0400)
committerWolfgang Denk <wd@denx.de>
Mon, 19 Oct 2009 08:36:31 +0000 (10:36 +0200)
commitf67066b6b0740b826ed862615c5ab022aaf4779a
tree87a3430d98c037866660dfadae52392261905b6c
parentefd988ebaa241bab265b1511052350207cb7aaa0
envcrc: check return value of fwrite()

Newer toolchains will often complain about unchecked fwrite():
envcrc.c:117: warning: ignoring return value of `fwrite´, declared
with attribute warn_unused_result

So check the return value to silence the warnings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
tools/envcrc.c