summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-30 20:16:51 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-30 22:26:16 +0200
commit765d143b5fc8dcb44f5fbd391ef36d0835793e7c (patch)
tree0fadb3d03d0b7a99412cff9a542f16a66950b5f8 /src/basic/util.h
parent0e05ee044a6e23745bb8906ad91ec7b97c37dbac (diff)
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.
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index afd906477a..ff6c39aaa3 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -375,7 +375,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE);
#define _cleanup_cpu_free_ _cleanup_(CPU_FREEp)
cpu_set_t* cpu_set_malloc(unsigned *ncpus);
-int parse_cpu_set(const char *rvalue, cpu_set_t **cpu_set, const char *unit, const char *filename, unsigned line, const char *lvalue);
+int parse_cpu_set_and_warn(const char *rvalue, cpu_set_t **cpu_set, const char *unit, const char *filename, unsigned line, const char *lvalue);
#define xsprintf(buf, fmt, ...) \
assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), \