Index: packages/io/serial/current/src/common/serial.c =================================================================== RCS file: /usr/cvs/sw/ecos/packages/io/serial/current/src/common/serial.c,v retrieving revision 1.4 diff -u -r1.4 serial.c --- packages/io/serial/current/src/common/serial.c 25 Mar 2003 14:59:28 -0000 1.4 +++ packages/io/serial/current/src/common/serial.c 25 Mar 2003 15:50:30 -0000 @@ -344,7 +344,7 @@ if (!cbuf->blocking) { *len -= size; // number of characters actually sent cbuf->waiting = false; - res = size == 0 ? -EAGAIN : ENOERROR; + res = size == 0 ? -EAGAIN : ENOERR; break; } #endif // CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING @@ -441,7 +441,7 @@ #ifdef CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING if (!cbuf->blocking) { *len = size; // characters actually read - res = size == 0 ? -EAGAIN : ENOERROR; + res = size == 0 ? -EAGAIN : ENOERR; break; } #endif // CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING