Unverified Commit 3fdb1cf4 by Christian Brauner Committed by GitHub

Merge pull request #2109 from duguhaotian/new

[cgfsng] show wrong errno
parents f1289f48 d1953b26
...@@ -2140,6 +2140,7 @@ static int lxc_cgroup_set_data(const char *filename, const char *value, struct c ...@@ -2140,6 +2140,7 @@ static int lxc_cgroup_set_data(const char *filename, const char *value, struct c
"The controller seems to be unused by \"cgfsng\" cgroup " "The controller seems to be unused by \"cgfsng\" cgroup "
"driver or not enabled on the cgroup hierarchy", "driver or not enabled on the cgroup hierarchy",
controller); controller);
errno = ENOENT;
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment