]> git.sur5r.net Git - u-boot/commit
ncb: Check return value of write()
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 24 Apr 2009 20:59:46 +0000 (15:59 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:16:46 +0000 (01:16 +0200)
commiteea8be86d1c2b570660d1f6c553845e13164231a
tree635b2c23a2873e6bd9b7d3c2cd773b06f7a1a899
parentdbe29e36a4c2775b69b5a63b0ce2bac89c08e691
ncb: Check return value of write()

This prevents the compilation warning:

ncb.c: In function 'main':
ncb.c:32: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
tools/ncb.c