diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-16 05:59:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-16 06:15:01 +0200 |
commit | 6014597dd60a708213cf50d28278877c00843a02 (patch) | |
tree | bac6a0d68fd27371dbc1aee732f6f1a01c488dd9 | |
parent | 75297aba8130cb1c1af2ae394039cbb9127161df (diff) |
bus: fix generate introspection XML
-rw-r--r-- | src/libsystemd-bus/bus-introspect.c | 4 |
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; } |