chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: add new loginctl lock-sessions command
[elogind.git]
/
src
/
vconsole
/
vconsole-setup.c
diff --git
a/src/vconsole/vconsole-setup.c
b/src/vconsole/vconsole-setup.c
index aa5fa18525ac8aff9eb2643eb5610646f6ea019b..62d9c8d7b5c5c7650def6aa6dd82a0868abb931b 100644
(file)
--- a/
src/vconsole/vconsole-setup.c
+++ b/
src/vconsole/vconsole-setup.c
@@
-253,7
+253,7
@@
int main(int argc, char **argv) {
}
if (r <= 0) {
}
if (r <= 0) {
-#if defined(TARGET_FEDORA)
|| defined(TARGET_MEEGO)
+#if defined(TARGET_FEDORA)
r = parse_env_file("/etc/sysconfig/i18n", NEWLINE,
"SYSFONT", &vc_font,
"SYSFONTACM", &vc_font_map,
r = parse_env_file("/etc/sysconfig/i18n", NEWLINE,
"SYSFONT", &vc_font,
"SYSFONTACM", &vc_font_map,
@@
-274,7
+274,7
@@
int main(int argc, char **argv) {
t = strdup("/etc/sysconfig/console/default.kmap");
if (!t) {
t = strdup("/etc/sysconfig/console/default.kmap");
if (!t) {
- log_
error("Out of memory."
);
+ log_
oom(
);
goto finish;
}
goto finish;
}
@@
-415,7
+415,7
@@
int main(int argc, char **argv) {
free(vc_keytable);
if (!vc_keymap) {
free(vc_keytable);
if (!vc_keymap) {
- log_
error("Out of memory."
);
+ log_
oom(
);
goto finish;
}
}
goto finish;
}
}
@@
-425,7
+425,7
@@
int main(int argc, char **argv) {
t = strdup("/etc/sysconfig/console/default.kmap");
if (!t) {
t = strdup("/etc/sysconfig/console/default.kmap");
if (!t) {
- log_
error("Out of memory."
);
+ log_
oom(
);
goto finish;
}
goto finish;
}