* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.

This commit is contained in:
Christopher Faylor 2002-11-07 18:50:08 +00:00
parent bffb89c23a
commit e45cfaf9e4
1 changed files with 1 additions and 1 deletions

View File

@ -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;