Parent: 5297e0c3b08d3dc97ac4c34086018f16a4e7129f
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-11-17 13:57:53
Tree: 253b6eeb3593528f9b108743942d4f9a3b27ba3e
serial: Fix errno handling convention Variables which are assigned to the errno variable (usually called "err") should be negative, and "-err" should be used where a positive value is needed.
Diffstat
| M | serial/port.c | | | 6 | +++- - - |
| M | serial/proxy.c | | | 39 | ++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - |
2 files changed, 21 insertions(+), 24 deletions(-)