* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
This commit is contained in:
parent
cad2c685b4
commit
783747919d
|
@ -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>
|
2002-11-07 Christopher January <chris@atomice.net>
|
||||||
|
|
||||||
* include/cygwin/fs.h: New file.
|
* include/cygwin/fs.h: New file.
|
||||||
|
|
|
@ -388,7 +388,7 @@ fhandler_serial::ioctl (unsigned int cmd, void *buffer)
|
||||||
|
|
||||||
DWORD ev;
|
DWORD ev;
|
||||||
COMSTAT st;
|
COMSTAT st;
|
||||||
if (ClearCommError (get_handle (), &ev, &st))
|
if (!ClearCommError (get_handle (), &ev, &st))
|
||||||
{
|
{
|
||||||
__seterrno ();
|
__seterrno ();
|
||||||
res = -1;
|
res = -1;
|
||||||
|
|
Loading…
Reference in New Issue