mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Fix typing bug cause flushing never occurse:
TIOCFLUSH -> TCIOFLUSH
This commit is contained in:
parent
650e27cd25
commit
71f99a8d0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14861
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user