Add strerror equivalent in libprivilege for more informative error logging.
authorDamian Chromejko <d.chromejko@samsung.com>
Tue, 19 Nov 2013 08:53:24 +0000 (09:53 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 9 Dec 2013 19:47:34 +0000 (20:47 +0100)
commit050856abc382d1b767dc2651bddad5d5a7eedf05
treee0dbfb189dc0ffebff308c98b58f82d56254ecaf
parent6de1a2a6c70ca40d055e1727d38b23bb56bb2958
Add strerror equivalent in libprivilege for more informative error logging.

[Issue#]      SSDWSSP-646
[Bug/Feature] Add strerror equivalent in libprivilege for more informative
              error logging.
[Cause]       Currently there is no way to check the reason for the
              error apart from looking directly into the code.
[Solution]    An strerror equivalent was created to convert error code
              to human-readable error description.
[Verfication] Build, install, run tests.

Change-Id: I9cd4416133e782d52cf9a8488e7b10fcf82546f2
include/privilege-control.h
src/privilege-control.c