From 0a790ab540b7669cc9711dc9bf22e09ac8dcff5a Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Tue, 7 Apr 2015 15:06:01 +0200 Subject: terminal/idev: fix NULL terminator for bus-property mapping We require a NULL entry as sentinal in bus_properties_map. Fix this! --- src/libsystemd-terminal/idev-keyboard.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsystemd-terminal') 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, -- cgit v1.2.3-54-g00ecf