Skip to content

Commit

Permalink
Try again.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Oct 27, 2023
1 parent eb043eb commit 4116bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/linux/system_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ uint16_t aws_get_cpu_group_count() {
do {
const struct aws_directory_entry *dir_entry = aws_directory_entry_iterator_get_value(dir_iter);
if (dir_entry) {
struct aws_byte_cursor search_cur = aws_byte_cursor_from_c_str("/node");
struct aws_byte_cursor search_cur = aws_byte_cursor_from_c_str("node");
AWS_LOGF_TRACE(AWS_LS_COMMON_GENERAL, "static: discovered NUMA node at " PRInSTR "\n", AWS_BYTE_CURSOR_PRI(dir_entry->path));

if ((dir_entry->file_type & (AWS_FILE_TYPE_SYM_LINK | AWS_FILE_TYPE_DIRECTORY)) &&
aws_byte_cursor_starts_with_ignore_case(&dir_entry->path, &search_cur)) {
aws_byte_cursor_starts_with_ignore_case(&dir_entry->relative_path, &search_cur)) {
AWS_LOGF_TRACE(AWS_LS_COMMON_GENERAL, "static: discovered NUMA node at " PRInSTR "\n", AWS_BYTE_CURSOR_PRI(dir_entry->path));
count++;
}
Expand Down

0 comments on commit 4116bfb

Please sign in to comment.