gdbus: Remove meaningless parameter for error description 83/195283/3
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 12 Dec 2018 07:37:53 +0000 (16:37 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 13 Dec 2018 02:00:04 +0000 (02:00 +0000)
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 <dwoo08.lee@samsung.com>
src/core/gdbus-util.c

index d18137c976ac605c9f8486fda6e0d18540c5325f..7909a7d8c7b87898cd5d56f18ddf38ce2790a1ad 100644 (file)
@@ -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;
        }