summaryrefslogtreecommitdiffstats
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:35 -0800
commit71ac4f60d90035cc784ddbd7e567998148343bc9 (patch)
tree9dc5979906a0dbf4cf5a683647450726bd7cd630 /gdbus/watch.c
parentd897b24085dd2e83d21061efa4db7ac481278f9f (diff)
downloadofono-71ac4f60d90035cc784ddbd7e567998148343bc9.tar.bz2
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;
}