Skip to content

Commit 553a16c

Browse files
authored
Merge pull request #327 from geekxxxx/main
chore: fix function name
2 parents e319d1b + f0b250a commit 553a16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgroup1/cgroup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (c *cgroup) AddTask(process Process, subsystems ...Name) error {
196196
return c.add(process, cgroupTasks, subsystems...)
197197
}
198198

199-
// writeCgroupsProcs writes to the file, but retries on EINVAL.
199+
// writeCgroupProcs writes to the file, but retries on EINVAL.
200200
func writeCgroupProcs(path string, content []byte, perm fs.FileMode) error {
201201
f, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, perm)
202202
if err != nil {

0 commit comments

Comments
 (0)