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/vconsole/vconsole-setup.c | |
parent | 608eea8ea0ad89cea964237b732de230c8b11970 (diff) | |
download | systemd-13df9c398d60e441a65b11ada491f750947649bf.tar.gz |
fileio: automatically add NULL sentinel to parse_env_file()
Let's modernize things a bit.
Diffstat (limited to 'src/vconsole/vconsole-setup.c')
-rw-r--r-- | src/vconsole/vconsole-setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index 9917729427..41059bae04 100644 --- a/src/vconsole/vconsole-setup.c +++ b/src/vconsole/vconsole-setup.c @@ -423,8 +423,7 @@ int main(int argc, char **argv) { "KEYMAP_TOGGLE", &vc_keymap_toggle, "FONT", &vc_font, "FONT_MAP", &vc_font_map, - "FONT_UNIMAP", &vc_font_unimap, - NULL); + "FONT_UNIMAP", &vc_font_unimap); if (r < 0 && r != -ENOENT) log_warning_errno(r, "Failed to read /etc/vconsole.conf: %m"); |