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

This commit is contained in:
Christopher Faylor 2002-11-07 18:47:21 +00:00
parent cad2c685b4
commit 783747919d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-11-07 Christopher Faylor <cgf@redhat.com>
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
2002-11-07 Christopher January <chris@atomice.net>
* include/cygwin/fs.h: New file.

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;