Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorah <norah.sakal@gmail.com>2018-12-14 21:38:47 +0300
committerMarat Dukhan <maratek@gmail.com>2018-12-14 21:38:47 +0300
commit514d19be793d24d8a4758e739b93cddcb241ded4 (patch)
tree67debf4429d2b0da1d8e381ed2579b5b8b82ae07
parentd4fd8cac460b827713a4eaea59983c5621efbd99 (diff)
Fixed misspelling in error message (#15)
-rw-r--r--src/linux/processors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/linux/processors.c b/src/linux/processors.c
index b2cc68b..cf87548 100644
--- a/src/linux/processors.c
+++ b/src/linux/processors.c
@@ -227,7 +227,7 @@ static bool max_processor_number_parser(uint32_t processor_list_start, uint32_t
uint32_t cpuinfo_linux_get_max_possible_processor(uint32_t max_processors_count) {
uint32_t max_possible_processor = 0;
if (!cpuinfo_linux_parse_cpulist(POSSIBLE_CPULIST_FILENAME, max_processor_number_parser, &max_possible_processor)) {
- cpuinfo_log_error("failed to parse the list of possible procesors in %s", POSSIBLE_CPULIST_FILENAME);
+ cpuinfo_log_error("failed to parse the list of possible processors in %s", POSSIBLE_CPULIST_FILENAME);
return max_processors_count;
}
if (max_possible_processor >= max_processors_count) {
@@ -242,7 +242,7 @@ uint32_t cpuinfo_linux_get_max_possible_processor(uint32_t max_processors_count)
uint32_t cpuinfo_linux_get_max_present_processor(uint32_t max_processors_count) {
uint32_t max_present_processor = 0;
if (!cpuinfo_linux_parse_cpulist(PRESENT_CPULIST_FILENAME, max_processor_number_parser, &max_present_processor)) {
- cpuinfo_log_error("failed to parse the list of present procesors in %s", PRESENT_CPULIST_FILENAME);
+ cpuinfo_log_error("failed to parse the list of present processors in %s", PRESENT_CPULIST_FILENAME);
return max_processors_count;
}
if (max_present_processor >= max_processors_count) {
@@ -288,7 +288,7 @@ bool cpuinfo_linux_detect_possible_processors(uint32_t max_processors_count,
if (cpuinfo_linux_parse_cpulist(POSSIBLE_CPULIST_FILENAME, detect_processor_parser, &context)) {
return true;
} else {
- cpuinfo_log_warning("failed to parse the list of possible procesors in %s", POSSIBLE_CPULIST_FILENAME);
+ cpuinfo_log_warning("failed to parse the list of possible processors in %s", POSSIBLE_CPULIST_FILENAME);
return false;
}
}
@@ -305,7 +305,7 @@ bool cpuinfo_linux_detect_present_processors(uint32_t max_processors_count,
if (cpuinfo_linux_parse_cpulist(PRESENT_CPULIST_FILENAME, detect_processor_parser, &context)) {
return true;
} else {
- cpuinfo_log_warning("failed to parse the list of present procesors in %s", PRESENT_CPULIST_FILENAME);
+ cpuinfo_log_warning("failed to parse the list of present processors in %s", PRESENT_CPULIST_FILENAME);
return false;
}
}