summaryrefslogtreecommitdiff
path: root/gdbus/watch.c
diff options
context:
space:
mode:
authorLuiz Augusto Von Dentz <luiz.dentz-von@nokia.com>2009-12-29 14:10:15 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-12-29 17:37:53 -0800
commit4b84588d1efa628e4cec71749f108ee3a9b3677f (patch)
tree10d3d3334df4edd4ddd5b90607598e5c0b628f73 /gdbus/watch.c
parentc8a2e8f51957609b34b238d420ce4ef68f7df99c (diff)
downloadconnman-4b84588d1efa628e4cec71749f108ee3a9b3677f.tar.gz
connman-4b84588d1efa628e4cec71749f108ee3a9b3677f.tar.bz2
connman-4b84588d1efa628e4cec71749f108ee3a9b3677f.zip
Fix undefined symbols
Diffstat (limited to 'gdbus/watch.c')
-rw-r--r--gdbus/watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 3883f4dc..df3944ca 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -142,7 +142,7 @@ static gboolean add_match(struct filter_data *data,
dbus_bus_add_match(data->connection, rule, &err);
if (dbus_error_is_set(&err)) {
- error("Adding match rule \"%s\" failed: %s", match_string,
+ error("Adding match rule \"%s\" failed: %s", rule,
err.message);
dbus_error_free(&err);
return FALSE;
@@ -166,7 +166,7 @@ static gboolean remove_match(struct filter_data *data)
dbus_bus_remove_match(data->connection, rule, &err);
if (dbus_error_is_set(&err)) {
error("Removing owner match rule for %s failed: %s",
- name, err.message);
+ rule, err.message);
dbus_error_free(&err);
return FALSE;
}