summaryrefslogtreecommitdiff
path: root/src/firstboot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-19 17:06:18 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-22 20:10:55 +0100
commit209c14705d5ea84aeaa597662af70d65edcc0231 (patch)
tree69198f79cb4107768cf86749c2672b17d9a6640d /src/firstboot
parent6ef06723b1de8efc6cfe4bdaee8bc39220bdcb5a (diff)
downloadsystemd-209c14705d5ea84aeaa597662af70d65edcc0231.tar.gz
basic/os-util: make the sentinel implicit
Diffstat (limited to 'src/firstboot')
-rw-r--r--src/firstboot/firstboot.c3
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");