diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-07 18:50:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-07 18:50:08 +0000 |
commit | e45cfaf9e4e0f40c26f6aaccb6bd58ec18136928 (patch) | |
tree | f60e00d9873a8c2d50336221697aebf7c64e5e06 | |
parent | bffb89c23ae37611486bf0870dbf26d8cd6b9b38 (diff) | |
download | newlib-unlabeled-1.32.2.zip newlib-unlabeled-1.32.2.tar.gz newlib-unlabeled-1.32.2.tar.bz2 |
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.github/unlabeled-1.32.2unlabeled-1.32.2
-rw-r--r-- | winsup/cygwin/fhandler_serial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |