1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

terminal/idev: fix NULL terminator for bus-property mapping

We require a NULL entry as sentinal in bus_properties_map. Fix this!
This commit is contained in:
David Herrmann 2015-04-07 15:06:01 +02:00
parent 3e348b8a6a
commit 0a790ab540

View File

@ -384,6 +384,7 @@ static const struct bus_properties_map kbdctx_locale_map[] = {
{ "X11Layout", "s", NULL, offsetof(kbdctx, locale_x11_layout) }, { "X11Layout", "s", NULL, offsetof(kbdctx, locale_x11_layout) },
{ "X11Variant", "s", NULL, offsetof(kbdctx, locale_x11_variant) }, { "X11Variant", "s", NULL, offsetof(kbdctx, locale_x11_variant) },
{ "X11Options", "s", NULL, offsetof(kbdctx, locale_x11_options) }, { "X11Options", "s", NULL, offsetof(kbdctx, locale_x11_options) },
{ },
}; };
static int kbdctx_locale_get_all_fn(sd_bus *bus, static int kbdctx_locale_get_all_fn(sd_bus *bus,