Add error handling in preference api
authorJiwoong Im <jiwoong.im@samsung.com>
Tue, 14 Feb 2017 01:59:21 +0000 (10:59 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Tue, 14 Feb 2017 01:59:21 +0000 (10:59 +0900)
commit4d1363f6b33c464e364553ac817017f70258f974
treeaa5d0b8f57f6acf93572bc66877c131998b9719b
parent0a5f7c9594ad9a0e69bc5de86e276fb2d92f5979
Add error handling in preference api

- Add errno check in using opendir for proper return.

Change-Id: I066ae1786067ababac0e396ebf88496360040f50
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
preference/preference.c