mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-19 08:07:08 +07:00
vconsole: fix error messages
https://bugs.freedesktop.org/show_bug.cgi?id=49192
This commit is contained in:
parent
e85647f73e
commit
682fff7371
@ -247,7 +247,7 @@ int main(int argc, char **argv) {
|
||||
NULL)) < 0) {
|
||||
|
||||
if (r != -ENOENT)
|
||||
log_warning("Failed to read /etc/sysconfig/i18n: %s", strerror(-r));
|
||||
log_warning("Failed to read /etc/sysconfig/keyboard: %s", strerror(-r));
|
||||
}
|
||||
|
||||
if (access("/etc/sysconfig/console/default.kmap", F_OK) >= 0) {
|
||||
@ -320,7 +320,7 @@ int main(int argc, char **argv) {
|
||||
NULL)) < 0) {
|
||||
|
||||
if (r != -ENOENT)
|
||||
log_warning("Failed to read /etc/sysconfig/console: %s", strerror(-r));
|
||||
log_warning("Failed to read /etc/sysconfig/consolefont: %s", strerror(-r));
|
||||
}
|
||||
|
||||
#elif defined(TARGET_GENTOO)
|
||||
@ -391,7 +391,7 @@ int main(int argc, char **argv) {
|
||||
NULL)) < 0) {
|
||||
|
||||
if (r != -ENOENT)
|
||||
log_warning("Failed to read /etc/sysconfig/i18n: %s", strerror(-r));
|
||||
log_warning("Failed to read /etc/sysconfig/keyboard: %s", strerror(-r));
|
||||
}
|
||||
|
||||
if (vc_keytable) {
|
||||
|
Loading…
Reference in New Issue
Block a user