summaryrefslogtreecommitdiff
path: root/src/shared/cpu-set-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:15:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:35:05 +0200
commit4ec851414248bb2031d805b40c40fdbbef899112 (patch)
tree3d19ac5c5bc39bab2fe269b6056e6ff46ca4f7f3 /src/shared/cpu-set-util.c
parentcae90de3d3e251692a72f3e8261c833e9ed2eaf7 (diff)
downloadsystemd-4ec851414248bb2031d805b40c40fdbbef899112.tar.gz
Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE
Whenever I see EXTRACT_QUOTES, I'm always confused whether it means to leave the quotes in or to take them out. Let's say "unquote", like we say "cunescape".
Diffstat (limited to 'src/shared/cpu-set-util.c')
-rw-r--r--src/shared/cpu-set-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cpu-set-util.c b/src/shared/cpu-set-util.c
index f27543dfe2..219314ef58 100644
--- a/src/shared/cpu-set-util.c
+++ b/src/shared/cpu-set-util.c
@@ -155,7 +155,7 @@ int parse_cpu_set_full(
unsigned cpu_lower, cpu_upper;
int r;
- r = extract_first_word(&p, &word, WHITESPACE ",", EXTRACT_QUOTES);
+ r = extract_first_word(&p, &word, WHITESPACE ",", EXTRACT_UNQUOTE);
if (r == -ENOMEM)
return warn ? log_oom() : -ENOMEM;
if (r < 0)