From: cheoleun moon Date: Mon, 19 Jun 2023 11:34:08 +0000 (+0900) Subject: Use valid format for printf X-Git-Tag: accepted/tizen/unified/20230621.023222^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_8.0;p=platform%2Fcore%2Fapi%2Fvine.git Use valid format for printf Change-Id: Ic332db50cc144a052877a1173d177277e2cb7beb --- diff --git a/src/vine-data-path.cpp b/src/vine-data-path.cpp index 4c8468e..795f414 100755 --- a/src/vine-data-path.cpp +++ b/src/vine-data-path.cpp @@ -87,7 +87,7 @@ inline bool data_path_validate(vine_data_path_s *datapath, const char *func) 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; } @@ -600,7 +600,7 @@ static vine_data_path_s *_vine_data_path_create(vine_data_path_method_e method, 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; } diff --git a/src/vine-event-loop-epoll.cpp b/src/vine-event-loop-epoll.cpp index 62b80f7..7cf7523 100755 --- a/src/vine-event-loop-epoll.cpp +++ b/src/vine-event-loop-epoll.cpp @@ -84,7 +84,7 @@ static void *__vine_event_loop_epoll_run(void *arg) 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; }