From 094a83b25e3d89ce785e1a870861a4fc1d82c79c Mon Sep 17 00:00:00 2001 From: Jin-Hwan Jeong Date: Mon, 13 Jul 2015 10:08:16 +0900 Subject: [PATCH] in signals.go: depeding -> depending in tty.go: pty -> tty Signed-off-by: Jin-Hwan Jeong --- signals.go | 2 +- tty.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/signals.go b/signals.go index 8ea56014..7c53542c 100644 --- a/signals.go +++ b/signals.go @@ -40,7 +40,7 @@ type signalHandler struct { tty *tty } -// forward handles the main signal event loop forwarding, resizing, or reaping depeding +// forward handles the main signal event loop forwarding, resizing, or reaping depending // on the signal received. func (h *signalHandler) forward(process *libcontainer.Process) (int, error) { // make sure we know the pid of our main process so that we can return diff --git a/tty.go b/tty.go index d72957da..cf879303 100644 --- a/tty.go +++ b/tty.go @@ -10,7 +10,7 @@ import ( "github.com/opencontainers/runc/libcontainer" ) -// newTty creates a new pty for use with the container. If a tty is not to be +// newTty creates a new tty for use with the container. If a tty is not to be // created for the process, pipes are created so that the TTY of the parent // process are not inherited by the container. func newTty(create bool, p *libcontainer.Process, rootuid int) (*tty, error) {