Fix typing bug cause flushing never occurse:

TIOCFLUSH -> TCIOFLUSH
This commit is contained in:
Andrey A. Chernov 1996-03-27 22:28:19 +00:00
parent 650e27cd25
commit 71f99a8d0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14861

View File

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: modem.c,v 1.18 1996/03/27 21:16:32 ache Exp $
* $Id: modem.c,v 1.19 1996/03/27 21:40:55 ache Exp $
*
* TODO:
*/
@ -585,7 +585,7 @@ int flag;
*/
if (modem)
{
tcflush(modem, TIOCFLUSH);
tcflush(modem, TCIOFLUSH);
UnrawModem(modem);
close(modem);
}