nspawn,vmspawn: fixups for recent changes

Nits found in post-merge review for
bf5bc9a7b2 and
4c778c51c0.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-04-08 23:19:03 +02:00
parent c0b3b855b7
commit e2227c8a20
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -379,7 +379,7 @@ static int help(void) {
if (r < 0)
return log_oom();
static const char *groups[] = {
static const char* const groups[] = {
NULL,
"Image",
"Execution",
@@ -1372,7 +1372,7 @@ static int parse_argv(int argc, char *argv[]) {
* been repurposed to optionally set the runtime scope, with --uid= replacing
* the old container user functionality. To maintain backwards compatibility
* with the space-separated form (--user NAME), if the next arg does not look
* like an option, interpret it a user name. */
* like an option, interpret it as a user name. */
const char *t = option_parser_next_arg(&state);
if (t && t[0] != '-') {
arg = option_parser_consume_next_arg(&state);
+1 -1
View File
@@ -218,7 +218,7 @@ static int help(void) {
if (r < 0)
return log_oom();
static const char *groups[] = {
static const char* const groups[] = {
NULL,
"Image",
"Host Configuration",