diff options
author | sangelovic <angelovic.s@gmail.com> | 2020-01-27 21:40:37 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-01-28 11:20:33 +0100 |
commit | 58abbbcc6bcedc4eebd1f5c7733cd41518e1f2e3 (patch) | |
tree | d4ac725f81c42ea791d94c701c0b1bf845885397 | |
parent | efi: fix build. (diff) | |
download | systemd-58abbbcc6bcedc4eebd1f5c7733cd41518e1f2e3.tar.xz systemd-58abbbcc6bcedc4eebd1f5c7733cd41518e1f2e3.zip |
sd-bus: fix introspection bug in signal parameter names
Diffstat (limited to '')
-rw-r--r-- | src/libsystemd/sd-bus/bus-introspect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-introspect.c b/src/libsystemd/sd-bus/bus-introspect.c index beab80687d..e8934489b5 100644 --- a/src/libsystemd/sd-bus/bus-introspect.c +++ b/src/libsystemd/sd-bus/bus-introspect.c @@ -160,7 +160,7 @@ int introspect_write_interface(struct introspect *i, const sd_bus_vtable *v) { case _SD_BUS_VTABLE_SIGNAL: fprintf(i->f, " <signal name=\"%s\">\n", v->x.signal.member); if (bus_vtable_has_names(vtable)) - names = strempty(v->x.method.names); + names = strempty(v->x.signal.names); introspect_write_arguments(i, strempty(v->x.signal.signature), &names, NULL); introspect_write_flags(i, v->type, v->flags); fputs(" </signal>\n", i->f); |