diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 17:06:18 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-22 20:10:55 +0100 |
commit | 209c14705d5ea84aeaa597662af70d65edcc0231 (patch) | |
tree | 69198f79cb4107768cf86749c2672b17d9a6640d /src/firstboot/firstboot.c | |
parent | 6ef06723b1de8efc6cfe4bdaee8bc39220bdcb5a (diff) | |
download | systemd-209c14705d5ea84aeaa597662af70d65edcc0231.tar.gz |
basic/os-util: make the sentinel implicit
Diffstat (limited to 'src/firstboot/firstboot.c')
-rw-r--r-- | src/firstboot/firstboot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 40f0de28c2..c0e88e7915 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -106,8 +106,7 @@ static void print_welcome(void) { r = parse_os_release( arg_root, "PRETTY_NAME", &pretty_name, - "ANSI_COLOR", &ansi_color, - NULL); + "ANSI_COLOR", &ansi_color); if (r < 0) log_full_errno(r == -ENOENT ? LOG_DEBUG : LOG_WARNING, r, "Failed to read os-release file, ignoring: %m"); |