We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbcca7c commit e8d8823Copy full SHA for e8d8823
src/impl/unix.cc
@@ -933,9 +933,9 @@ while (is_open_ == true) {
933
#else
934
int command = (TIOCM_CD|TIOCM_DSR|TIOCM_RI|TIOCM_CTS);
935
936
- if (-1 == ioctl (fd_, TIOCMIWAIT, &command)) {
+ if (-1 == ioctl (fd_, TIOCMIWAIT, command)) {
937
stringstream ss;
938
- ss << "waitForDSR failed on a call to ioctl(TIOCMIWAIT): "
+ ss << "waitForChange failed on a call to ioctl(TIOCMIWAIT): "
939
<< errno << " " << strerror(errno);
940
throw(SerialException(ss.str().c_str()));
941
}
0 commit comments