diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-12 14:04:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-14 17:01:54 +0100 |
commit | aa8fbc74e3eadf57a15b84cce5778a8eab1d97e6 (patch) | |
tree | ea8b676c0cfc8d35dd9977d16a6fcf214704200d /src/machine/machine-dbus.c | |
parent | 01771226c202183ff447da712f43d2fad8874484 (diff) | |
download | systemd-aa8fbc74e3eadf57a15b84cce5778a8eab1d97e6.tar.gz |
fileio: drop "newline" parameter for env file parsers
Now that we don't (mis-)use the env file parser to parse kernel command
lines there's no need anymore to override the used newline character
set. Let's hence drop the argument and just "\n\r" always. This nicely
simplifies our code.
Diffstat (limited to 'src/machine/machine-dbus.c')
-rw-r--r-- | src/machine/machine-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index 2f9f587973..c921974cbe 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c @@ -373,7 +373,7 @@ int bus_machine_method_get_os_release(sd_bus_message *message, void *userdata, s pair[0] = -1; - r = load_env_file_pairs(f, "/etc/os-release", NULL, &l); + r = load_env_file_pairs(f, "/etc/os-release", &l); if (r < 0) return r; |