From: David Herrmann Date: Tue, 7 Apr 2015 13:06:01 +0000 (+0200) Subject: terminal/idev: fix NULL terminator for bus-property mapping X-Git-Tag: v220~513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a790ab540b7669cc9711dc9bf22e09ac8dcff5a;p=thirdparty%2Fsystemd.git terminal/idev: fix NULL terminator for bus-property mapping We require a NULL entry as sentinal in bus_properties_map. Fix this! --- diff --git a/src/libsystemd-terminal/idev-keyboard.c b/src/libsystemd-terminal/idev-keyboard.c index f90f1b56d55..05f5e0cd06d 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,