tools: Check the return value of write().
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 May 2011 16:34:11 +0000 (18:34 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 16 May 2011 18:56:56 +0000 (20:56 +0200)
commitd39facc783c270227e5b7c75db3dec406ed19018
treee334782b9f76fc00d43bd3a266a9de64e61a4ad5
parentbdefbf3e8857d2861d8d57c0ef583fe15a46d1a4
tools: Check the return value of write().

This fixes several warnings of the type:
warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
tools/cws2fws.c
tools/pktdumper.c