From: Pawel Wasowski Date: Mon, 22 Oct 2018 14:07:08 +0000 (+0200) Subject: [Common] Fix typo in logger format string X-Git-Tag: submit/tizen/20181023.123309~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5ac95ae57ab826d2eaa1e6e4a5a786f2e9d45a3;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Common] Fix typo in logger format string The project failed to build, if "enable_common_debug_logs%" flag in src/common/common.gyp was set to "1". It was due to LoggerD's format string, incompatible with the actual type of the logged variable. [Verification] the project builds without error, if "enable_common_debug_logs%" is set to "1" Change-Id: Ic7b7d51341f327ce96003312a93e9cfbb09db5b8 Signed-off-by: Pawel Wasowski --- diff --git a/src/common/GDBus/proxy.cpp b/src/common/GDBus/proxy.cpp index 86d4d6fa..4b330fd1 100644 --- a/src/common/GDBus/proxy.cpp +++ b/src/common/GDBus/proxy.cpp @@ -90,7 +90,7 @@ void Proxy::signalSubscribe() { m_signal_name.c_str(), m_signal_path.c_str(), NULL, G_DBUS_SIGNAL_FLAGS_NONE, signalCallbackProxy, static_cast(this), NULL); - LoggerD("g_dbus_connection_signal_subscribe returned id: %d", m_sub_id); + LoggerD("g_dbus_connection_signal_subscribe returned id: %u", m_sub_id); m_dbus_signal_subscribed = true; }