From c712e8737353264356784c6eb27895eaeaefa244 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Wed, 22 Sep 2021 11:02:09 +0100 Subject: [PATCH] Fix typo --- pttyhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pttyhandler.cpp b/pttyhandler.cpp index 36a5204..bea880d 100644 --- a/pttyhandler.cpp +++ b/pttyhandler.cpp @@ -74,7 +74,7 @@ void pttyHandler::openPort() qInfo(logSerial()) << "Opened pseudoterminal, slave name :" << ptsname(ptfd); // Open the slave device to keep alive. - ptKeepAlive = open(ptsnamd(ptfd), O_RDONLY); + ptKeepAlive = open(ptsname(ptfd), O_RDONLY); ptReader = new QSocketNotifier(ptfd, QSocketNotifier::Read, this); connect(ptReader, &QSocketNotifier::activated,