chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7472744
)
Need to use #elif defined(DEBIAN) here...
author
Michael Biebl
<biebl@debian.org>
Mon, 27 Sep 2010 17:10:11 +0000
(19:10 +0200)
committer
Michael Biebl
<biebl@debian.org>
Mon, 27 Sep 2010 17:11:21 +0000
(19:11 +0200)
This fixes a c&p error in
7472744bf9eddc7137f03233e49fa780793d5fc0
src/locale-setup.c
patch
|
blob
|
history
diff --git
a/src/locale-setup.c
b/src/locale-setup.c
index fcbf216d199f67527e19c06d244b5c0b4e12ad3f..78fa2123f8e23f4edfa124223571430965de95d3 100644
(file)
--- a/
src/locale-setup.c
+++ b/
src/locale-setup.c
@@
-135,7
+135,7
@@
int locale_setup(void) {
log_warning("Failed to read /etc/sysconfig/language: %s", strerror(-r));
}
-#
ifdef TARGET_DEBIAN
+#
elif defined(TARGET_DEBIAN)
if (r <= 0 &&
(r = parse_env_file("/etc/default/locale", NEWLINE,
"LANG", &variables[VARIABLE_LANG],