chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
localectl: fix dbus call arguments in set_x11_keymap
[elogind.git]
/
src
/
locale
/
localectl.c
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(