Change-Id: I7d4fe40360e91d9ce0df43c0de17420cf637e6fc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
int ret = 0;
struct timeval tv;
struct tm tm, *gmtime_res;
- gboolean is_sys_time_set;
tv.tv_sec = _time;
tv.tv_usec = 0;
if (ret < 0)
ALARM_MGR_EXCEPTION_PRINT("settimeofday is failed.[%d]", errno);
- if (!_get_is_sys_time_set(&is_sys_time_set))
- _set_is_sys_time_set();
+ if (!_set_is_sys_time_set())
+ ALARM_MGR_EXCEPTION_PRINT("_set_is_sys_time_set is failed");
if (_APPFW_FEATURE_WAKEUP_USING_RTC) {
/* Using /dev/alarm, this function changes both OS time and RTC. */