aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-07 18:47:21 +0000
committerChristopher Faylor <me@cgf.cx>2002-11-07 18:47:21 +0000
commit783747919d1180bbca4b29a3b3bea27633adae11 (patch)
treeaff580cb2ad8d9261b48c7a09969c3e743ee5a2c /winsup
parentcad2c685b4096ba830e32a5fe0c6e9cfa4f890e3 (diff)
downloadnewlib-783747919d1180bbca4b29a3b3bea27633adae11.zip
newlib-783747919d1180bbca4b29a3b3bea27633adae11.tar.gz
newlib-783747919d1180bbca4b29a3b3bea27633adae11.tar.bz2
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler_serial.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index ed345d0..95735e1 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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.
diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc
index 2c8c27f..fd7abb8 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;