Another lint error.

This commit is contained in:
Ernie Pasveer
2022-04-30 10:16:20 -05:00
parent 680b9b9403
commit 8121a8afea
+6 -1
View File
@@ -212,7 +212,12 @@ void SeerConsoleWidget::handleStdinLineEdit () {
return;
}
(void)write(_ptsFD, s.c_str(), s.length());
int n = write(_ptsFD, s.c_str(), s.length());
if (n != (signed long int)s.length()) {
qWarning() << "Not able to process stdin of" << s.length() << "bytes.";
}
fsync(_ptsFD);
}