~stefanlsd/btnx/devel

Viewing all changes in revision 98.

  • Committer: Stefan Lesicnik
  • Date: 2009-02-09 20:02:43 UTC
  • Revision ID: stefan@lsd.co.za-20090209200243-0josesnfyqfjrsno
Capture the return value of the write(). This fixes a FTBFS on Jaunty which uses -Werror.
The alternative is to do some proper checking if the buffer is sucessfully written. In the case of the information coming from a struct, the likelyhood of not getting all the data is highly unlikely, hence just captured and ignored.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: