From e40dd291c445394e93a54aadc38c16602516ce10 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Tue, 29 Mar 2022 01:31:59 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 437963000 --- test/util/pty_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util/pty_util.cc b/test/util/pty_util.cc index 351f4730c..b58f3c29c 100644 --- a/test/util/pty_util.cc +++ b/test/util/pty_util.cc @@ -48,7 +48,7 @@ PosixErrorOr ReplicaID(const FileDescriptor& master) { int unlock = 0; ret = ioctl(master.get(), TIOCSPTLCK, &unlock); if (ret < 0) { - return PosixError(errno, "ioctl(TIOSPTLCK) failed"); + return PosixError(errno, "ioctl(TIOCSPTLCK) failed"); } return n;