diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-06-23 16:20:53 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-08-07 15:50:42 +0000 |
commit | 6868560773ada8ea31d1f86422be6bf026a1f660 (patch) | |
tree | a8d97674f235783d9e6b424f213433f5d3eb647a /src/shared/condition.c | |
parent | 53f0db71771bf757b6b429525a4e5db3dcf3afef (diff) |
util: change unquote_*_word to extract_*_word
It now takes a separators argument, which defaults to WHITESPACE if NULL
is passed.
Diffstat (limited to 'src/shared/condition.c')
-rw-r--r-- | src/shared/condition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/condition.c b/src/shared/condition.c index 24871b0dae..f7e182284f 100644 --- a/src/shared/condition.c +++ b/src/shared/condition.c @@ -101,7 +101,7 @@ static int condition_test_kernel_command_line(Condition *c) { _cleanup_free_ char *word = NULL; bool found; - r = unquote_first_word(&p, &word, UNQUOTE_RELAX); + r = extract_first_word(&p, &word, NULL, EXTRACT_RELAX); if (r < 0) return r; if (r == 0) |