getuid(), DATACONTROL_REQUEST_FILE_PREFIX,
(char *)bundle_get_val(kb, AUL_K_CALLER_APPID), req_id);
if (size < 0) {
- _LOGE("unable to write formatted output to select_map_file. errno = %d", errno);
+ _LOGE("unable to write formatted output to select_map_file. errno = %d", errno);
retval = DATA_CONTROL_ERROR_IO_ERROR;
goto out;
}
retval = DATA_CONTROL_ERROR_IO_ERROR;
goto out;
}
- _LOGE("value : %s", value);
+ _LOGE("value : %s", (char *)value);
if (write(result_fd, value, sizeof(void) * size) == -1) {
_LOGE("Writing a value to a file descriptor is failed. errno = %d", errno);
retval = DATA_CONTROL_ERROR_IO_ERROR;