diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
commit | 937c9a0f84db15a0a64ed0419a42da3a34d96cde (patch) | |
tree | b6b3bfb6f6bbc506426154fc8294316054abb45f /usr.bin/tip/aculib | |
parent | 4e5dd980fd1238d635621b9bba7d99533aababd6 (diff) |
first pass at a -Wall cleanup
Diffstat (limited to 'usr.bin/tip/aculib')
-rw-r--r-- | usr.bin/tip/aculib/biz22.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/tip/aculib/biz22.c b/usr.bin/tip/aculib/biz22.c index acfb291a4cf..768dfb75da7 100644 --- a/usr.bin/tip/aculib/biz22.c +++ b/usr.bin/tip/aculib/biz22.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biz22.c,v 1.4 1997/04/02 01:47:05 millert Exp $ */ +/* $OpenBSD: biz22.c,v 1.5 2001/07/12 05:17:24 deraadt Exp $ */ /* $NetBSD: biz22.c,v 1.6 1997/02/11 09:24:11 mrg Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)biz22.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: biz22.c,v 1.4 1997/04/02 01:47:05 millert Exp $"; +static char rcsid[] = "$OpenBSD: biz22.c,v 1.5 2001/07/12 05:17:24 deraadt Exp $"; #endif /* not lint */ #include "tip.h" @@ -97,8 +97,8 @@ biz_dialer(num, mod) if (timeout) { char line[80]; - (void)sprintf(line, "%d second dial timeout", - number(value(DIALTIMEOUT))); + (void)sprintf(line, "%ld second dial timeout", + (long)number(value(DIALTIMEOUT))); logent(value(HOST), num, "biz1022", line); } #endif @@ -123,8 +123,6 @@ biz22f_dialer(num, acu) biz22_disconnect() { - int rw = 2; - write(FD, DISCONNECT_CMD, 4); sleep(2); tcflush(FD, TCIOFLUSH); |