btio: Fix the return value of bt_io functions
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Tue, 5 Jul 2011 17:00:00 +0000 (14:00 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 9 Jul 2011 16:47:29 +0000 (18:47 +0200)
commit6549cb63460908c04884b8c8c6c60a5ec4087899
tree4708a88f33c86c6e56007b6ed44f813887df4224
parent4129f1a05a684b528e6e46b8b83f9784214a58e0
btio: Fix the return value of bt_io functions

Some bt_io methods were ignoring the value stored in errno when
reporting the error to the caller.
btio/btio.c