Skip to content

Commit

Permalink
Fix issue #190 about numa_exit_on_warn does not work
Browse files Browse the repository at this point in the history
Reported-by: Andrew Corcoran
  • Loading branch information
luochenglcs authored and andikleen committed Sep 6, 2023
1 parent 6e5ff8e commit fc99928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libnuma.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ WEAK void numa_warn(int num, char *fmt, ...)
fputc('\n', stderr);
va_end(ap);

if (numa_exit_on_warn)
exit(1);

errno = olde;
}

Expand Down

0 comments on commit fc99928

Please sign in to comment.