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 12:58:12 +0000 (14:58 +0200)
commit1edba541de63b088a60d89e4a0433bf9149c4b13
tree4d60d97c751ad0679ffb3764ef0a4b728c47fa7e
parent8b083a8c67219c5d1dbfbf2ad1082c1954f9c9fa
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.
libsmack/libsmack.c
utils/common.c