Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-07 21:50:08 +0300
committerChristopher Faylor <me@cgf.cx>2002-11-07 21:50:08 +0300
commite45cfaf9e4e0f40c26f6aaccb6bd58ec18136928 (patch)
treef60e00d9873a8c2d50336221697aebf7c64e5e06
parentbffb89c23ae37611486bf0870dbf26d8cd6b9b38 (diff)
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.unlabeled-1.32.2
-rw-r--r--winsup/cygwin/fhandler_serial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc
index 2c8c27f5d..fd7abb808 100644
--- a/winsup/cygwin/fhandler_serial.cc
+++ b/winsup/cygwin/fhandler_serial.cc
@@ -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;