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:
parent
3e348b8a6a
commit
0a790ab540
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user