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-09 22:59:58 +02:00
parent 3e348b8a6a
commit 0a790ab540
+1
View File
@@ -384,6 +384,7 @@ static const struct bus_properties_map kbdctx_locale_map[] = {
{ "X11Layout", "s", NULL, offsetof(kbdctx, locale_x11_layout) },
{ "X11Variant", "s", NULL, offsetof(kbdctx, locale_x11_variant) },
{ "X11Options", "s", NULL, offsetof(kbdctx, locale_x11_options) },
{ },
};
static int kbdctx_locale_get_all_fn(sd_bus *bus,