From a181e6d91224d70896c746769cafefd6b545922c Mon Sep 17 00:00:00 2001 From: Dongwoo Lee Date: Wed, 12 Dec 2018 16:37:53 +0900 Subject: gdbus: Remove meaningless parameter for error description Variable arg has Gvariant* type, but format string is not used properly. Even it changed to %p properly, just print out address of Gvariant structure has no meaning. So, this patch get rid of this unnecessary information. Change-Id: I54229953dfd66c3ff3219cb08d578472cd1ddb60 Signed-off-by: Dongwoo Lee --- src/core/gdbus-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gdbus-util.c b/src/core/gdbus-util.c index d18137c..7909a7d 100644 --- a/src/core/gdbus-util.c +++ b/src/core/gdbus-util.c @@ -217,7 +217,7 @@ int pass_gdbus_send_broadcast_signal(char *path, char *interface, char *method, ret = g_dbus_connection_send_message(g_dbus_sys_conn, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &err); if (!ret) { - _E("failed to broadcast [%s][%d]", method, arg); + _E("failed to broadcast [%s]", method); g_object_unref(message); return -ECOMM; } -- cgit v1.2.3