Fix invalid format about dlog 19/134519/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Jun 2017 05:19:25 +0000 (14:19 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Jun 2017 05:19:25 +0000 (14:19 +0900)
Change-Id: Ic74c58d5ef3e0b298c40f9619b933d91e312299a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
inc/preexec.h
src/launchpad.c
src/launchpad_debug.c
src/launchpad_loader.c

index 4b5b7cd..2cf7e86 100755 (executable)
@@ -97,7 +97,7 @@ static inline void __preexec_init(int argc, char **argv)
                        free(type_t);
                        continue;
                }
-               _D("preexec %s %s# - handle : %x\n", type, sopath, handle);
+               _D("preexec %s %s# - handle : %p\n", type, sopath, handle);
 
                func = dlsym(handle, symbol);
                if (func == NULL) {
index a9a55b4..7dbf9d5 100755 (executable)
@@ -1421,7 +1421,7 @@ static gboolean __handle_launch_event(gpointer data)
        PERF("get package information & modify bundle done");
 
        if (loader_id == PAD_LOADER_ID_DIRECT || cpc == NULL) {
-               _W("Launch directly %d %d", loader_id, cpc);
+               _W("Launch directly %d %p", loader_id, cpc);
                pid = __launch_directly(menu_info->appid, app_path, clifd, kb,
                                menu_info, NULL);
        } else {
index 5eacf14..aab6408 100644 (file)
@@ -75,7 +75,7 @@ int _debug_create_extra_argv(int *argc, char ***argv)
 
        *argc = new_argc;
        *argv = new_argv;
-       _D("[DEBUG] argc: %d, i: %d", argc, i);
+       _D("[DEBUG] argc: %d, i: %d", *argc, i);
 
        return 0;
 }
index 01487de..9a18f2e 100644 (file)
@@ -158,7 +158,7 @@ static void __preload_lib(bundle *b)
 
        for (i = 0; i < len; i++) {
                handle = dlopen(so_array[i], RTLD_NOW | RTLD_NODELETE);
-               _D("preload %s# - handle : %x\n", so_array[i], handle);
+               _D("preload %s# - handle : %p\n", so_array[i], handle);
        }
 }