From 765d143b5fc8dcb44f5fbd391ef36d0835793e7c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 Sep 2015 20:16:51 +0200 Subject: util: rename parse_cpu_set() to parse_cpu_set_and_warn() It's pretty untypical for our parsing functions to log on their own. Clarify in the name that this one does. --- src/core/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/main.c') diff --git a/src/core/main.c b/src/core/main.c index a244cbb3d5..ee6576fb35 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -464,8 +464,7 @@ static int config_parse_cpu_affinity2( _cleanup_cpu_free_ cpu_set_t *c = NULL; int ncpus; - ncpus = parse_cpu_set(rvalue, &c, unit, filename, line, lvalue); - + ncpus = parse_cpu_set_and_warn(rvalue, &c, unit, filename, line, lvalue); if (ncpus < 0) return ncpus; -- cgit v1.2.3-54-g00ecf