aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc.c
diff options
context:
space:
mode:
authorEric Turgeon <4249848+ericbsd@users.noreply.github.com>2021-10-20 08:25:53 -0300
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-12 22:55:40 -0600
commitbfb00e6a14b7ce596576796e98f14d4b9f43482d (patch)
tree0b83db089d830bddc2ff74d85600829cbb9460e0 /src/rc/rc.c
parentd21fabca021089f28e4da0ee10dd6b0634f1c10b (diff)
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.
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r--src/rc/rc.c2
1 files changed, 1 insertions, 1 deletions
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",