diff options
author | Dongwoo Lee <dwoo08.lee@samsung.com> | 2018-12-12 16:37:53 +0900 |
---|---|---|
committer | Dongwoo Lee <dwoo08.lee@samsung.com> | 2018-12-13 02:00:04 +0000 |
commit | a181e6d91224d70896c746769cafefd6b545922c (patch) | |
tree | d13353bfc9f9c3e277d974fda324d1613d0f744e | |
parent | a3bcb858b2f2de6abd4afbfb72879d09e2285a44 (diff) | |
download | pass-a181e6d91224d70896c746769cafefd6b545922c.tar.gz pass-a181e6d91224d70896c746769cafefd6b545922c.tar.bz2 pass-a181e6d91224d70896c746769cafefd6b545922c.zip |
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 <dwoo08.lee@samsung.com>
-rw-r--r-- | src/core/gdbus-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |