chiark / gitweb /
vconsole: default to the kernel compiled-in font
[elogind.git] / src / vconsole / vconsole-setup.c
index 62d9c8d7b5c5c7650def6aa6dd82a0868abb931b..1227b041d339c785cd32b6708354a364c02434dd 100644 (file)
@@ -215,10 +215,9 @@ int main(int argc, char **argv) {
         utf8 = is_locale_utf8();
 
         vc_keymap = strdup("us");
         utf8 = is_locale_utf8();
 
         vc_keymap = strdup("us");
-        vc_font = strdup(DEFAULT_FONT);
 
 
-        if (!vc_keymap || !vc_font) {
-                log_error("Failed to allocate strings.");
+        if (!vc_keymap) {
+                log_error("Failed to allocate string.");
                 goto finish;
         }
 
                 goto finish;
         }