chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f4443fa
)
localectl: fix dbus call arguments in set_x11_keymap
author
Michal Schmidt
<mschmidt@redhat.com>
Wed, 12 Dec 2012 21:24:04 +0000
(22:24 +0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Wed, 12 Dec 2012 21:29:06 +0000
(22:29 +0100)
Fixes an assertion failure in the dbus lib.
https://bugzilla.redhat.com/show_bug.cgi?id=882212
src/locale/localectl.c
patch
|
blob
|
history
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index fa73bcaac6b0871bee16a2edd3d9d09f970a371f..383a17dee12d93390317706b7edc366fc85f652b 100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-537,7
+537,7
@@
static int set_x11_keymap(DBusConnection *bus, char **args, unsigned n) {
layout = args[1];
model = n > 2 ? args[2] : "";
variant = n > 3 ? args[3] : "";
- options = n >
3
? args[4] : "";
+ options = n >
4
? args[4] : "";
b = arg_convert;
return bus_method_call_with_reply(