summaryrefslogtreecommitdiff
path: root/src/locale/localectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r--src/locale/localectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index cb2920974c..a0df78ed6b 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -402,7 +402,7 @@ static int list_x11_keymaps(sd_bus *bus, char **args, unsigned n) {
f = fopen("/usr/share/X11/xkb/rules/base.lst", "re");
if (!f) {
- log_error("Failed to open keyboard mapping list. %m");
+ log_error_errno(errno, "Failed to open keyboard mapping list. %m");
return -errno;
}