diff options
-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; } |