summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-introspect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus/test-bus-introspect.c')
-rw-r--r--src/libsystemd-bus/test-bus-introspect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-introspect.c b/src/libsystemd-bus/test-bus-introspect.c
index ae41618647..b9865349ac 100644
--- a/src/libsystemd-bus/test-bus-introspect.c
+++ b/src/libsystemd-bus/test-bus-introspect.c
@@ -52,7 +52,9 @@ int main(int argc, char *argv[]) {
assert_se(introspect_begin(&intro) >= 0);
- assert_se(introspect_write_interface(&intro, "org.foo", vtable) >= 0);
+ fprintf(intro.f, " <interface name=\"org.foo\">\n");
+ assert_se(introspect_write_interface(&intro, vtable) >= 0);
+ fputs(" </interface>\n", intro.f);
fflush(intro.f);
fputs(intro.introspection, stdout);