Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  erts: Allow lack of optional fields when determining cgroup type
  • Loading branch information
jhogberg committed Jun 26, 2023
2 parents 0e82324 + 3f99624 commit 05afbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/lib_src/common/erl_misc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ get_cgroup_path(const char *controller, const char **path) {
* This fails if any of the fs options contain a hyphen, but this is
* not likely to happen on a cgroup, so we just skip such lines. */
if (sscanf(line_buf,
"%*d %*d %*d:%*d %4095s %4095s %*s %*[^-]- "
"%*d %*d %*d:%*d %4095s %4095s %*s%*[^-]- "
"%63s %*s %511[^\n]\n",
root_path, mount_path,
fs_type, fs_flags) != 4) {
Expand Down

0 comments on commit 05afbf6

Please sign in to comment.