summaryrefslogtreecommitdiffstats
path: root/src/basic/locale-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/locale-util.c')
-rw-r--r--src/basic/locale-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c
index e6da5dbc63..23565273dd 100644
--- a/src/basic/locale-util.c
+++ b/src/basic/locale-util.c
@@ -295,7 +295,7 @@ bool is_locale_utf8(void) {
if (cached_answer >= 0)
goto out;
- r = getenv_bool_secure("SYSTEMD_UTF8");
+ r = secure_getenv_bool("SYSTEMD_UTF8");
if (r >= 0) {
cached_answer = r;
goto out;