summaryrefslogtreecommitdiffstats
path: root/lib/cpuset.c
diff options
context:
space:
mode:
authorHeiko Carstens2011-09-09 11:19:30 +0200
committerKarel Zak2011-09-10 00:00:14 +0200
commit68845fed01fc1dfc97ace4a78f15c12bda4aa9b7 (patch)
treee1a27d530b95325a1ca8764f71740846bc37586e /lib/cpuset.c
parentmount: remove superfluous "an" under ext4 mount options in mount.8 (diff)
downloadkernel-qcow2-util-linux-68845fed01fc1dfc97ace4a78f15c12bda4aa9b7.tar.gz
kernel-qcow2-util-linux-68845fed01fc1dfc97ace4a78f15c12bda4aa9b7.tar.xz
kernel-qcow2-util-linux-68845fed01fc1dfc97ace4a78f15c12bda4aa9b7.zip
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 <heiko.carstens@de.ibm.com>
Diffstat (limited to 'lib/cpuset.c')
-rw-r--r--lib/cpuset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpuset.c b/lib/cpuset.c
index dd31f5231..842e8c8b5 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)
{