util: resource: Change error code from -EPERM to -EACCES 90/280590/1
authorSung-hun Kim <sfoon.kim@samsung.com>
Thu, 1 Sep 2022 05:02:05 +0000 (14:02 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Thu, 1 Sep 2022 05:22:12 +0000 (14:22 +0900)
commitb5d308519f733d24c0d9623ee3855b4271d21c5c
tree1bc6f8ea78802d912e6ded9c0d0c1ac77b51ffaf
parent17e5855e7e01907f037df092f95078dd7dad6fbf
util: resource: Change error code from -EPERM to -EACCES

To match Tizen error code, I changed -EPERM to -EACCES.
Which corresponds to TIZEN_ERROR_PERMISSION_DENIED.

Change-Id: I1d3675435eba319637710c4cef3981398e7ab96a
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
src/util/resource.c