From 717603e391b52983ca1fd218e7333a1b9dfc5c05 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Jul 2014 17:50:55 +0200 Subject: machinectl: show /etc/os-release information of container in status output --- src/locale/localed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/locale') diff --git a/src/locale/localed.c b/src/locale/localed.c index 358f6c200e..23da149b0e 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -288,7 +288,7 @@ static int locale_write_data(Context *c) { int r, p; char **l = NULL; - r = load_env_file("/etc/locale.conf", NULL, &l); + r = load_env_file(NULL, "/etc/locale.conf", NULL, &l); if (r < 0 && r != -ENOENT) return r; @@ -393,7 +393,7 @@ static int vconsole_write_data(Context *c) { int r; _cleanup_strv_free_ char **l = NULL; - r = load_env_file("/etc/vconsole.conf", NULL, &l); + r = load_env_file(NULL, "/etc/vconsole.conf", NULL, &l); if (r < 0 && r != -ENOENT) return r; -- cgit v1.2.3-54-g00ecf