Skip to content

Commit

Permalink
Merge pull request #1557 from MattBBaker/topic/silent-thb-check
Browse files Browse the repository at this point in the history
UCT/BASE: Silent thp check
  • Loading branch information
yosefe authored Jun 1, 2017
2 parents fd6637d + 2289849 commit f0c13bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ucs/sys/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ int ucs_is_thp_enabled()
char buf[256];
int rc;

rc = ucs_read_file(buf, sizeof(buf), 0, UCS_SYS_THP_ENABLED_FILE);
rc = ucs_read_file(buf, sizeof(buf), 1, UCS_SYS_THP_ENABLED_FILE);
if (rc < 0) {
ucs_debug("failed to read %s:%m", UCS_SYS_THP_ENABLED_FILE);
return 0;
Expand Down

0 comments on commit f0c13bd

Please sign in to comment.