RET_VAL_IF(datapath == NULL, false, "datapath is NULL");
RET_VAL_IF(datapath->plugin_handle == NULL, false, "plugin_handle is NULL");
RET_VAL_IF((((long long)datapath->plugin_handle) ^ ((long long)datapath->validator)) != VALIDATOR_BITS, false,
- "validator fails. plugin_handle[%x] validator[%x]", datapath->plugin_handle, datapath->validator);
+ "validator fails. plugin_handle[%p] validator[%lld]", datapath->plugin_handle, datapath->validator);
return true;
}
dp->state = vine_get_default_state(dp, dp->plugin_handle, *dp->plugin_fn);
dp->validator = (((long long)dp->plugin_handle) ^ VALIDATOR_BITS);
- VINE_LOGD("datapath[%p] is created. method[%d] validator[%x] plugin_handle[%p]",
+ VINE_LOGD("datapath[%p] is created. method[%d] validator[%lld] plugin_handle[%p]",
dp, method, dp->validator, dp->plugin_handle);
return dp;
}
int fd = events[i].data.fd;
vine_epoll_io_event_handler *h = _find_io_event_handler(fd);
if (!h) {
- VINE_LOGD("Removed fd[%d] %d", fd);
+ VINE_LOGD("Removed fd[%d]", fd);
continue;
}