84b277
From ef543bf1d0011c0c7bfe38e097c1ef53e7027591 Mon Sep 17 00:00:00 2001
84b277
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
84b277
Date: Mon, 7 Jul 2014 08:55:30 -0400
84b277
Subject: [PATCH] vconsole-setup: fix inverted error messages
84b277
84b277
Introduced in abee28c56d.
84b277
84b277
Pointed-out-by: Werner Fink <werner@suse.de>
84b277
84b277
(cherry picked from commit 3dde3f819732aaa66ab8e881305488adaea17641)
84b277
84b277
Related: #1002450
84b277
---
84b277
 src/vconsole/vconsole-setup.c | 4 ++--
84b277
 1 file changed, 2 insertions(+), 2 deletions(-)
84b277
84b277
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
84b277
index 25d15af..645b1e6 100644
84b277
--- a/src/vconsole/vconsole-setup.c
84b277
+++ b/src/vconsole/vconsole-setup.c
84b277
@@ -305,7 +305,7 @@ int main(int argc, char **argv) {
84b277
 
84b277
         r = font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid);
84b277
         if (r < 0) {
84b277
-                log_error("Failed to start " KBD_LOADKEYS ": %s", strerror(-r));
84b277
+                log_error("Failed to start " KBD_SETFONT ": %s", strerror(-r));
84b277
                 return EXIT_FAILURE;
84b277
         }
84b277
 
84b277
@@ -314,7 +314,7 @@ int main(int argc, char **argv) {
84b277
 
84b277
         r = keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, &keymap_pid);
84b277
         if (r < 0) {
84b277
-                log_error("Failed to start " KBD_SETFONT ": %s", strerror(-r));
84b277
+                log_error("Failed to start " KBD_LOADKEYS ": %s", strerror(-r));
84b277
                 return EXIT_FAILURE;
84b277
         }
84b277