From 7314e1cf76eb18d3e5aa5e6fcc92d61eed2ba6f4 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 4 Aug 2026 16:14:25 +0900 Subject: [PATCH] options: use strv_join() strv_join() is an alias of strv_join_full() with NULL for prefix and false for escape_separator. Let's use the shorter form. --- src/shared/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/options.c b/src/shared/options.c index 1a24106fc5..68a275037c 100644 --- a/src/shared/options.c +++ b/src/shared/options.c @@ -64,7 +64,7 @@ static int partial_match_error( assert(strv_length(s) == n_partial_matches); - _cleanup_free_ char *p = strv_join_full(s, ", ", /* prefix= */ NULL, /* escape_separator= */ false); + _cleanup_free_ char *p = strv_join(s, ", "); return log_full_errno(LOG_ERR + state->log_level_shift, SYNTHETIC_ERRNO(EINVAL), "%s: option '%s' is ambiguous; possibilities: %s",