projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e348b8
)
terminal/idev: fix NULL terminator for bus-property mapping
author
David Herrmann
<dh.herrmann@gmail.com>
Tue, 7 Apr 2015 13:06:01 +0000
(15:06 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 9 Apr 2015 20:59:58 +0000
(22:59 +0200)
We require a NULL entry as sentinal in bus_properties_map. Fix this!
src/libsystemd-terminal/idev-keyboard.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-terminal/idev-keyboard.c
b/src/libsystemd-terminal/idev-keyboard.c
index
f90f1b5
..
05f5e0c
100644
(file)
--- 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,