From bfb00e6a14b7ce596576796e98f14d4b9f43482d Mon Sep 17 00:00:00 2001 From: Eric Turgeon <4249848+ericbsd@users.noreply.github.com> Date: Wed, 20 Oct 2021 08:25:53 -0300 Subject: Added missing comma in openrc/src/rc Clang was failing with: ``` /zroot/jenkins/workspace/update_ghsotbsd-13_poudriere_jail/sbin/openrc/../../contrib/openrc/src/rc/rc.c:70:2: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation] "when leaving single user or boot runlevels", ^ /zroot/jenkins/workspace/update_ghsotbsd-13_poudriere_jail/sbin/openrc/../../contrib/openrc/src/rc/rc.c:69:2: note: place parentheses around the string literal to silence warning "override the next runlevel to change into\n" ^ ``` This fixes #469. --- src/rc/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/rc.c') diff --git a/src/rc/rc.c b/src/rc/rc.c index ef46925d..fd2081ca 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -66,7 +66,7 @@ const struct option longopts[] = { }; const char * const longopts_help[] = { "do not stop any services", - "override the next runlevel to change into\n" + "override the next runlevel to change into\n", "when leaving single user or boot runlevels", "runs the service specified with the rest\nof the arguments", "output the RC system type, if any", -- cgit v1.2.3