Remove errno assignments
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 25 Oct 2013 13:06:28 +0000 (16:06 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 28 Oct 2013 13:00:56 +0000 (15:00 +0200)
commite5818a35603d140fddd59a863f52bb048ffde8c1
tree5a50a07274ef5caa6c8091bda03d7963c6354dc2
parentc417cc666220609834b1af31268f582dadda7d3c
Remove errno assignments

If we want to report something libsmack specific, then we should
have our own error codes. By using errno values to report libsmack
specific error condition we almost zero their value. By removing
these assignment you can resolved from a changed errno value that
a system call failed.

This patch does not break API contract as use of errno values is
undefined in the API documentation.
(cherry picked from commit 1edba541de63b088a60d89e4a0433bf9149c4b13)
libsmack/libsmack.c
utils/common.c