summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/tty/tty_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/tty/tty_test.go')
-rw-r--r--pkg/sentry/fs/tty/tty_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/tty/tty_test.go b/pkg/sentry/fs/tty/tty_test.go
index 0c7560ed7..32e1b1556 100644
--- a/pkg/sentry/fs/tty/tty_test.go
+++ b/pkg/sentry/fs/tty/tty_test.go
@@ -23,7 +23,7 @@ import (
)
func TestSimpleMasterToSlave(t *testing.T) {
- ld := lineDiscipline{termios: linux.DefaultSlaveTermios}
+ ld := newLineDiscipline(linux.DefaultSlaveTermios)
ctx := contexttest.Context(t)
inBytes := []byte("hello, tty\n")
src := usermem.BytesIOSequence(inBytes)