Fix undefined symbols
authorLuiz Augusto Von Dentz <luiz.dentz-von@nokia.com>
Tue, 29 Dec 2009 12:10:15 +0000 (14:10 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Dec 2009 01:37:35 +0000 (17:37 -0800)
gdbus/watch.c

index 3883f4d..df3944c 100644 (file)
@@ -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;
        }