summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-03 17:50:55 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-03 17:54:24 +0200
commit717603e391b52983ca1fd218e7333a1b9dfc5c05 (patch)
tree1a4da5a932aeaa9da207d46e4f71b8bc566e2c27 /src/hostname
parent98be1a746ac0d7a17e69ccb05936a4d6b3223e97 (diff)
machinectl: show /etc/os-release information of container in status output
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index c2b6d3d6f3..14629dd3a9 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -319,7 +319,7 @@ static int context_write_data_machine_info(Context *c) {
assert(c);
- r = load_env_file("/etc/machine-info", NULL, &l);
+ r = load_env_file(NULL, "/etc/machine-info", NULL, &l);
if (r < 0 && r != -ENOENT)
return r;