diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-04-07 15:06:01 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-04-09 22:59:58 +0200 |
commit | 0a790ab540b7669cc9711dc9bf22e09ac8dcff5a (patch) | |
tree | 6283a73aa3c828f506920afb803d9aec2e588f91 /src | |
parent | 3e348b8a6af4bc46562efa44500fe2fa44320aa1 (diff) |
terminal/idev: fix NULL terminator for bus-property mapping
We require a NULL entry as sentinal in bus_properties_map. Fix this!
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-terminal/idev-keyboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/idev-keyboard.c b/src/libsystemd-terminal/idev-keyboard.c index f90f1b56d5..05f5e0cd06 100644 --- a/src/libsystemd-terminal/idev-keyboard.c +++ b/src/libsystemd-terminal/idev-keyboard.c @@ -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, |