summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorLuiz Augusto Von Dentz <luiz.dentz-von@nokia.com>2009-12-29 12:10:15 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2009-12-30 01:37:53 (GMT)
commit4b84588d1efa628e4cec71749f108ee3a9b3677f (patch)
tree10d3d3334df4edd4ddd5b90607598e5c0b628f73 /gdbus
parentc8a2e8f51957609b34b238d420ce4ef68f7df99c (diff)
downloadconnman-4b84588d1efa628e4cec71749f108ee3a9b3677f.zip
connman-4b84588d1efa628e4cec71749f108ee3a9b3677f.tar.gz
connman-4b84588d1efa628e4cec71749f108ee3a9b3677f.tar.bz2
Fix undefined symbols
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 3883f4d..df3944c 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;
}