summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-objects.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-22 01:14:57 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-22 01:42:15 +0100
commitf00c31213a2e521680c2381ef231f05e30c874a7 (patch)
treea0eb712c597e646c5149441bc301942f9d5fd386 /src/libsystemd-bus/test-bus-objects.c
parent969987ea93a7fdcd2c87b551eb0adf0bd9338b32 (diff)
bus: also add error parameter to object find and enumerator callbacks
Just in order to bring things inline with the method and property callbacks.
Diffstat (limited to 'src/libsystemd-bus/test-bus-objects.c')
-rw-r--r--src/libsystemd-bus/test-bus-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-objects.c b/src/libsystemd-bus/test-bus-objects.c
index 043aa90b3c..95278e36e3 100644
--- a/src/libsystemd-bus/test-bus-objects.c
+++ b/src/libsystemd-bus/test-bus-objects.c
@@ -182,7 +182,7 @@ static const sd_bus_vtable vtable2[] = {
SD_BUS_VTABLE_END
};
-static int enumerator_callback(sd_bus *b, const char *path, char ***nodes, void *userdata) {
+static int enumerator_callback(sd_bus *b, const char *path, void *userdata, char ***nodes, sd_bus_error *error) {
if (object_path_startswith("/value", path))
assert_se(*nodes = strv_new("/value/a", "/value/b", "/value/c", NULL));