summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-16 05:59:21 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-16 06:15:01 +0200
commit6014597dd60a708213cf50d28278877c00843a02 (patch)
treebac6a0d68fd27371dbc1aee732f6f1a01c488dd9
parent75297aba8130cb1c1af2ae394039cbb9127161df (diff)
bus: fix generate introspection XML
-rw-r--r--src/libsystemd-bus/bus-introspect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-introspect.c b/src/libsystemd-bus/bus-introspect.c
index 31788782ed..92deb75dfd 100644
--- a/src/libsystemd-bus/bus-introspect.c
+++ b/src/libsystemd-bus/bus-introspect.c
@@ -103,9 +103,9 @@ static int introspect_write_arguments(struct introspect *i, const char *signatur
fprintf(i->f, " <arg type=\"%.*s\"", (int) l, signature);
if (direction)
- fprintf(i->f, " direction=\"%s\">\n", direction);
+ fprintf(i->f, " direction=\"%s\"/>\n", direction);
else
- fputs(">\n", i->f);
+ fputs("/>\n", i->f);
signature += l;
}