summaryrefslogtreecommitdiff
path: root/src/console/consoled-terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/consoled-terminal.c')
-rw-r--r--src/console/consoled-terminal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/consoled-terminal.c b/src/console/consoled-terminal.c
index 166a43b5b1..755f23ece2 100644
--- a/src/console/consoled-terminal.c
+++ b/src/console/consoled-terminal.c
@@ -189,8 +189,7 @@ static void terminal_feed_keyboard(Terminal *t, idev_data *data) {
kdata->codepoints,
kdata->mods);
if (r < 0)
- log_error("Cannot feed keyboard data to screen: %s",
- strerror(-r));
+ log_error_errno(r, "Cannot feed keyboard data to screen: %m");
}
}