From: Heiko Carstens Date: Fri, 9 Sep 2011 09:19:30 +0000 (+0200) Subject: lib,cpuset: fix comments for cpu mask/list functions X-Git-Tag: v2.21-rc1~438 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68845fed01fc1dfc97ace4a78f15c12bda4aa9b7;p=thirdparty%2Futil-linux.git 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 --- 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) {