[systemd-commits] src/locale-setup.c

Michael Biebl mbiebl at kemper.freedesktop.org
Mon Sep 27 10:12:00 PDT 2010


 src/locale-setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f6943caa53ac486cc8de580160954ba2b8ffd504
Author: Michael Biebl <biebl at debian.org>
Date:   Mon Sep 27 19:10:11 2010 +0200

    Need to use #elif defined(DEBIAN) here...
    
    This fixes a c&p error in 7472744bf9eddc7137f03233e49fa780793d5fc0

diff --git a/src/locale-setup.c b/src/locale-setup.c
index fcbf216..78fa212 100644
--- 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],


More information about the systemd-commits mailing list