fix typos

Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
bin liu 2016-06-22 14:23:32 +08:00
parent a8c73b6959
commit 004efe5991
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import (
"unsafe"
)
// NewConsole returns an initalized console that can be used within a container by copying bytes
// NewConsole returns an initialized console that can be used within a container by copying bytes
// from the master side to the slave that is attached as the tty for the container's init process.
func newConsole(uid, gid int) (*os.File, string, error) {
master, err := os.OpenFile("/dev/ptmx", syscall.O_RDWR|syscall.O_NOCTTY|syscall.O_CLOEXEC, 0)