Skip to content

Commit

Permalink
libct: fix a comment
Browse files Browse the repository at this point in the history
There is a typo in the comment (ClonedBinary should be CloneBinary), and
the code has changed a bit since then, and it makes more sense to refer
to CloneSelfExe now.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit 8cc7375)
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Nov 1, 2024
1 parent 3cc5960 commit b66c139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type Process struct {
// ExtraFiles specifies additional open files to be inherited by the container
ExtraFiles []*os.File

// open handles to cloned binaries -- see dmz.ClonedBinary for more details
// open handles to cloned binaries -- see dmz.CloneSelfExe for more details
clonedExes []*os.File

// Initial sizings for the console
Expand Down

0 comments on commit b66c139

Please sign in to comment.