diff options
author | Eric Turgeon <4249848+ericbsd@users.noreply.github.com> | 2021-10-20 08:25:53 -0300 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-11-12 22:55:40 -0600 |
commit | bfb00e6a14b7ce596576796e98f14d4b9f43482d (patch) | |
tree | 0b83db089d830bddc2ff74d85600829cbb9460e0 /src/rc | |
parent | d21fabca021089f28e4da0ee10dd6b0634f1c10b (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')
-rw-r--r-- | src/rc/rc.c | 2 |
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", |