summaryrefslogtreecommitdiff
path: root/src/locale-setup.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-28 11:51:24 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-28 11:51:24 +0200
commitfd5bf055acae23a5ff0fcce8425675703f7bf5e0 (patch)
treea9bb6542444703af2bc9eddfa805f5d7be9b38fb /src/locale-setup.c
parent915d22e4f09e8f6d7fb2e7a7456f8b5908bd7f98 (diff)
use .conf for new config files: locale, vconsole, modules.d
Diffstat (limited to 'src/locale-setup.c')
-rw-r--r--src/locale-setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale-setup.c b/src/locale-setup.c
index 78fa2123f8..ffb4ee999e 100644
--- a/src/locale-setup.c
+++ b/src/locale-setup.c
@@ -93,9 +93,9 @@ int locale_setup(void) {
}
/* Hmm, nothing set on the kernel cmd line? Then let's
- * try /etc/locale */
+ * try /etc/locale.conf */
if (r <= 0 &&
- (r = parse_env_file("/etc/locale", NEWLINE,
+ (r = parse_env_file("/etc/locale.conf", NEWLINE,
"LANG", &variables[VARIABLE_LANG],
"LC_CTYPE", &variables[VARIABLE_LC_CTYPE],
"LC_NUMERIC", &variables[VARIABLE_LC_NUMERIC],
@@ -112,7 +112,7 @@ int locale_setup(void) {
NULL)) < 0) {
if (r != -ENOENT)
- log_warning("Failed to read /etc/locale: %s", strerror(-r));
+ log_warning("Failed to read /etc/locale.conf: %s", strerror(-r));
}
#ifdef TARGET_FEDORA