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.
This commit is contained in:
Yu Watanabe
2026-08-04 19:17:56 +09:00
parent 2bb1f6a651
commit 7314e1cf76
+1 -1
View File
@@ -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",