1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

localectl: read X11 keymaps from the correct file

As reported by Sergey Udaltsov.
This commit is contained in:
Lennart Poettering 2013-04-15 01:30:18 +02:00
parent 1e8e0a3221
commit c62e11ce39

View File

@ -627,7 +627,7 @@ static int list_x11_keymaps(DBusConnection *bus, char **args, unsigned n) {
return -EINVAL;
}
f = fopen("/usr/share/X11/xkb/rules/xorg.lst", "re");
f = fopen("/usr/share/X11/xkb/rules/base.lst", "re");
if (!f) {
log_error("Failed to open keyboard mapping list. %m");
return -errno;