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/test | |
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/test')
-rw-r--r-- | src/test/test-fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c index 8719ec26bb..ac86d6d588 100644 --- a/src/test/test-fileio.c +++ b/src/test/test-fileio.c @@ -92,8 +92,7 @@ static void test_parse_env_file(void) { "seven", &seven, "eight", &eight, "export nine", &nine, - "ten", &ten, - NULL); + "ten", &ten); assert_se(r >= 0); |