From c5ac95ae57ab826d2eaa1e6e4a5a786f2e9d45a3 Mon Sep 17 00:00:00 2001
From: Pawel Wasowski
Date: Mon, 22 Oct 2018 16:07:08 +0200
Subject: [PATCH] [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
---
src/common/GDBus/proxy.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.34.1