Commit: fb844615390f3ba6b3703afb085167ef7ada9b03
Parent: 4879b9d75cb8be48a7c639bfdcd497be398bdccc
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-11-17 13:57:53
Tree: e01921d0e4d59084e0d0a073e331f4247444886a

input: 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. Also remove a few unnecessary errno assignments.

Diffstat

M input/device.c | 43 +++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 19 insertions(+), 24 deletions(-)

View Full Diff | Patch