From 68845fed01fc1dfc97ace4a78f15c12bda4aa9b7 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Fri, 9 Sep 2011 11:19:30 +0200 Subject: [PATCH] lib,cpuset: fix comments for cpu mask/list functions The comments for cpumask_parse() and cpulist_parse() each describe the wrong function. Just exchange the comments. Signed-off-by: Heiko Carstens --- lib/cpuset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cpuset.c b/lib/cpuset.c index dd31f5231a..842e8c8b5d 100644 --- a/lib/cpuset.c +++ b/lib/cpuset.c @@ -221,7 +221,7 @@ char *cpumask_create(char *str, size_t len, } /* - * Parses string with list of CPU ranges. + * Parses string with CPUs mask. */ int cpumask_parse(const char *str, cpu_set_t *set, size_t setsize) { @@ -262,7 +262,7 @@ int cpumask_parse(const char *str, cpu_set_t *set, size_t setsize) } /* - * Parses string with CPUs mask. + * Parses string with list of CPU ranges. */ int cpulist_parse(const char *str, cpu_set_t *set, size_t setsize, int fail) { -- 2.47.3