Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1501-erts-Allow-lack-of-optional-fields-when-de...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1501-erts-Allow-lack-of-optional-fields-when-determining-.patch of Package erlang
From 88596d49d796feaefc89773b11847d8fbebfa773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org> Date: Fri, 23 Feb 2024 19:52:57 +0100 Subject: [PATCH 1/2] erts: Allow lack of optional fields when determining cgroup type This is a backport of 11380e0bcc7cc4586a80b770a5ea5dad1e4408cb --- erts/lib_src/common/erl_misc_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/lib_src/common/erl_misc_utils.c b/erts/lib_src/common/erl_misc_utils.c index 62a49c5b08..4c441294ba 100644 --- a/erts/lib_src/common/erl_misc_utils.c +++ b/erts/lib_src/common/erl_misc_utils.c @@ -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) { -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor