Use valid format for printf 50/294450/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.092919 accepted/tizen/unified/20230621.023222 tizen_8.0_m2_release
authorcheoleun moon <chleun.moon@samsung.com>
Mon, 19 Jun 2023 11:34:08 +0000 (20:34 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Mon, 19 Jun 2023 11:34:15 +0000 (20:34 +0900)
Change-Id: Ic332db50cc144a052877a1173d177277e2cb7beb

src/vine-data-path.cpp
src/vine-event-loop-epoll.cpp

index 4c8468e..795f414 100755 (executable)
@@ -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;
 }
index 62b80f7..7cf7523 100755 (executable)
@@ -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;
                        }