diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-12 14:18:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-14 17:01:55 +0100 |
commit | 13df9c398d60e441a65b11ada491f750947649bf (patch) | |
tree | ad1aed8e02e8ee9ca9abc54bb6defe3863b47ebc /src/resolve/resolved-link.c | |
parent | localed: be more careful with the used types (diff) | |
download | systemd-13df9c398d60e441a65b11ada491f750947649bf.tar.xz systemd-13df9c398d60e441a65b11ada491f750947649bf.zip |
fileio: automatically add NULL sentinel to parse_env_file()
Let's modernize things a bit.
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 54bb805475..0ae3b40018 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -1263,8 +1263,7 @@ int link_load_user(Link *l) { "DNSSEC", &dnssec, "SERVERS", &servers, "DOMAINS", &domains, - "NTAS", &ntas, - NULL); + "NTAS", &ntas); if (r == -ENOENT) return 0; if (r < 0) |