diff options
Diffstat (limited to 'usr.bin/tip/aculib/biz31.c')
-rw-r--r-- | usr.bin/tip/aculib/biz31.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/aculib/biz31.c b/usr.bin/tip/aculib/biz31.c index f0e3874cae3..57aeb2ce773 100644 --- a/usr.bin/tip/aculib/biz31.c +++ b/usr.bin/tip/aculib/biz31.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biz31.c,v 1.7 2003/04/04 21:50:00 deraadt Exp $ */ +/* $OpenBSD: biz31.c,v 1.8 2003/05/05 20:07:37 avsm Exp $ */ /* $NetBSD: biz31.c,v 1.5 1997/02/11 09:24:14 mrg Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)biz31.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: biz31.c,v 1.7 2003/04/04 21:50:00 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: biz31.c,v 1.8 2003/05/05 20:07:37 avsm Exp $"; #endif /* not lint */ #include "tip.h" @@ -122,7 +122,7 @@ biz31f_dialer(num, acu) biz31_disconnect() { - write(FD, DISCONNECT_CMD, 4); + write(FD, DISCONNECT_CMD, sizeof(DISCONNECT_CMD)-1); sleep(2); tcflush(FD, TCIOFLUSH); } |