chiark / gitweb /
bus: bus_open_user_systemd() fall back to bus if runtime dir is not set
[elogind.git] / src / libsystemd-bus / test-bus-objects.c
index 043aa90b3c82d01e0ff47ef4edb5173380cec095..95278e36e3ee56ff9b69c7fd767a5ed80dc11541 100644 (file)
@@ -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));