Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/impl/unix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -933,9 +933,9 @@ while (is_open_ == true) {
#else
int command = (TIOCM_CD|TIOCM_DSR|TIOCM_RI|TIOCM_CTS);

if (-1 == ioctl (fd_, TIOCMIWAIT, &command)) {
if (-1 == ioctl (fd_, TIOCMIWAIT, command)) {
stringstream ss;
ss << "waitForDSR failed on a call to ioctl(TIOCMIWAIT): "
ss << "waitForChange failed on a call to ioctl(TIOCMIWAIT): "
<< errno << " " << strerror(errno);
throw(SerialException(ss.str().c_str()));
}
Expand Down