From: Dewal Agarwal Date: Wed, 12 Dec 2018 04:37:21 +0000 (+0530) Subject: Dlog Print Format Updates X-Git-Tag: accepted/tizen/5.5/unified/20191031.025149^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.0_hotfix;p=platform%2Fcore%2Fcontext%2Fjob-scheduler.git Dlog Print Format Updates Change-Id: Ib63c96af169c0504dd6ffbd73d8de2a1b03d914c Signed-off-by: Dewal Agarwal --- diff --git a/src/server/JobManager.cpp b/src/server/JobManager.cpp index ff769d2..609df93 100644 --- a/src/server/JobManager.cpp +++ b/src/server/JobManager.cpp @@ -487,7 +487,7 @@ void JobManager::__restore() { auto storedJobs = __jobInfoDatabase.getAll(); - _I("Restoring %u jobs", storedJobs.size()); + _I("Restoring %zu jobs", storedJobs.size()); SchedTimer::pause(); diff --git a/src/server/MethodCallHandler.cpp b/src/server/MethodCallHandler.cpp index 1a8dbab..b6b047e 100644 --- a/src/server/MethodCallHandler.cpp +++ b/src/server/MethodCallHandler.cpp @@ -219,7 +219,7 @@ void MethodCallHandler::__getAllJob(IMethodCall& methodCall) std::vector jobInfos = __getJobManager().getAllJobInfo(__caller); IF_FAIL_THROW(!jobInfos.empty(), static_cast(E_NO_DATA)); - _D("%u jobs found", jobInfos.size()); + _D("%zu jobs found", jobInfos.size()); GVariantBuilder builder; g_variant_builder_init(&builder, G_VARIANT_TYPE("as"));