* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
This commit is contained in:
@@ -388,7 +388,7 @@ fhandler_serial::ioctl (unsigned int cmd, void *buffer)
|
||||
|
||||
DWORD ev;
|
||||
COMSTAT st;
|
||||
if (ClearCommError (get_handle (), &ev, &st))
|
||||
if (!ClearCommError (get_handle (), &ev, &st))
|
||||
{
|
||||
__seterrno ();
|
||||
res = -1;
|
||||
|
Reference in New Issue
Block a user