summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-link.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-12 14:18:03 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-14 17:01:55 +0100
commit13df9c398d60e441a65b11ada491f750947649bf (patch)
treead1aed8e02e8ee9ca9abc54bb6defe3863b47ebc /src/resolve/resolved-link.c
parentlocaled: be more careful with the used types (diff)
downloadsystemd-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.c3
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)