Fix dlog format errors 60/198660/2
authorTezaswy Singh <tezaswy.s@samsung.com>
Mon, 28 Jan 2019 20:07:32 +0000 (01:37 +0530)
committerTezaswy Singh <tezaswy.s@samsung.com>
Mon, 28 Jan 2019 20:38:14 +0000 (02:08 +0530)
Change-Id: I5d47697b99a9bf3985af13565387a3369e315220
Signed-off-by: Tezaswy Singh <tezaswy.s@samsung.com>
src/clock.c

index cafb528a64451e3866d6474a1bdc945b3f8ad9cb..5617f88093110bdcdf4d64bac7ed06e9d93507f6 100755 (executable)
@@ -398,7 +398,7 @@ static int _try_to_launch(const char *clock_pkgname)
 
        watch_manager_get_app_control(clock_pkgname, &watch_control);
        ret = app_control_send_launch_request(watch_control, NULL, NULL);
-       if(ret != APP_CONTROL_ERROR_NONE) {
+       if (ret != APP_CONTROL_ERROR_NONE) {
                _E("app_control_send_launch_request failed!");
                app_control_destroy(watch_control);
                return ret;
@@ -411,7 +411,7 @@ static int _try_to_launch(const char *clock_pkgname)
        }
        ret = app_context_get_pid(app_context, &clock_app_pid);
        if (ret != APP_MANAGER_ERROR_NONE) {
-               _D("Invalid PID", clock_app_pid);
+               _D("Invalid PID [%d]", clock_app_pid);
                app_control_destroy(watch_control);
                return ret;
        }