summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-27 22:28:19 +0000
committerache <ache@FreeBSD.org>1996-03-27 22:28:19 +0000
commit8e37357d03fbc881989b4d5e46a74ee6905b2eed (patch)
treef0984b755a8664cf0df5e61434db88b53a289fd3 /usr.sbin/ppp
parent527c4956960447491069e9d131dd4411e91225c6 (diff)
downloadFreeBSD-src-8e37357d03fbc881989b4d5e46a74ee6905b2eed.zip
FreeBSD-src-8e37357d03fbc881989b4d5e46a74ee6905b2eed.tar.gz
Fix typing bug cause flushing never occurse:
TIOCFLUSH -> TCIOFLUSH
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c
index 49bfc4e..ac276f7 100644
--- a/usr.sbin/ppp/modem.c
+++ b/usr.sbin/ppp/modem.c
@@ -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);
}
OpenPOWER on IntegriCloud