summaryrefslogtreecommitdiff
path: root/src/basic/strv.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-06 12:50:44 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-06 15:26:05 +0200
commite5f2d77b48897408f91c8ef60d79740fc8a5b0b8 (patch)
tree33681c7c157ce3a93b93eb516121f78c04a70a87 /src/basic/strv.h
parent226281b36d96a8f45fb80f3c3b113a9b49baf9c2 (diff)
downloadsystemd-e5f2d77b48897408f91c8ef60d79740fc8a5b0b8.tar.gz
basic/strv: fix typos and confusion whether we are escaping or unescaping
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r--src/basic/strv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h
index 2a858326c6..6295058876 100644
--- a/src/basic/strv.h
+++ b/src/basic/strv.h
@@ -101,7 +101,7 @@ static inline char** strv_split_newlines(const char *s) {
* string in the vector is an empty string. */
int strv_split_colon_pairs(char ***t, const char *s);
-char* strv_join_full(char * const *l, const char *separator, const char *prefix, bool escape_separtor);
+char* strv_join_full(char * const *l, const char *separator, const char *prefix, bool escape_separator);
static inline char *strv_join(char * const *l, const char *separator) {
return strv_join_full(l, separator, NULL, false);
}