chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vconsole-setup: fix inverted error messages
[elogind.git]
/
src
/
vconsole
/
vconsole-setup.c
diff --git
a/src/vconsole/vconsole-setup.c
b/src/vconsole/vconsole-setup.c
index 25d15afd5c9e5d6bbcc8a5134424e3ac8feaec0a..645b1e69940a9f4b72e723f20dc8d4040c97b60d 100644
(file)
--- a/
src/vconsole/vconsole-setup.c
+++ b/
src/vconsole/vconsole-setup.c
@@
-305,7
+305,7
@@
int main(int argc, char **argv) {
r = font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid);
if (r < 0) {
r = font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid);
if (r < 0) {
- log_error("Failed to start " KBD_
LOADKEYS
": %s", strerror(-r));
+ log_error("Failed to start " KBD_
SETFONT
": %s", strerror(-r));
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}
@@
-314,7
+314,7
@@
int main(int argc, char **argv) {
r = keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, &keymap_pid);
if (r < 0) {
r = keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, &keymap_pid);
if (r < 0) {
- log_error("Failed to start " KBD_
SETFONT
": %s", strerror(-r));
+ log_error("Failed to start " KBD_
LOADKEYS
": %s", strerror(-r));
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}