Parent: f2c10b575c32fae045a84703762e179e47d25760
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-11-17 13:57:52
Tree: 19fc64a98d994ab5ef0652ebe61fbdb954a978d9
audio/IPC: 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. This commit also changes places where errno can be replaced with -err (for consistency) and one perror() usage error.
Diffstat
| M | audio/ipc.c | | | 18 | +++++++++- - - - - - - - - |
| M | test/ipctest.c | | | 12 | ++++++++- - - - |
2 files changed, 17 insertions(+), 13 deletions(-)