mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-06 07:56:55 +08:00
Cleanup unused func arguments
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
@@ -75,7 +75,7 @@ func (c *linuxConsole) Close() error {
|
||||
|
||||
// mount initializes the console inside the rootfs mounting with the specified mount label
|
||||
// and applying the correct ownership of the console.
|
||||
func (c *linuxConsole) mount(rootfs, mountLabel string, uid, gid int) error {
|
||||
func (c *linuxConsole) mount(rootfs, mountLabel string) error {
|
||||
oldMask := syscall.Umask(0000)
|
||||
defer syscall.Umask(oldMask)
|
||||
if err := label.SetFileLabel(c.slavePath, mountLabel); err != nil {
|
||||
|
Reference in New Issue
Block a user