diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-04-04 21:50:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-04-04 21:50:01 +0000 |
commit | 502495f37efd945d1d9a38bdbf92d8712c0bc196 (patch) | |
tree | 17195997987d531765e3e28b8fbb454cf8af7d15 /usr.bin/tip/aculib/t3000.c | |
parent | 3b94f8a0d302e3a08fd645b248baa4aa5dda7d77 (diff) |
some easy string fixes; tdeval ok
Diffstat (limited to 'usr.bin/tip/aculib/t3000.c')
-rw-r--r-- | usr.bin/tip/aculib/t3000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/aculib/t3000.c b/usr.bin/tip/aculib/t3000.c index c3b8cb6595a..3a4ffded4c2 100644 --- a/usr.bin/tip/aculib/t3000.c +++ b/usr.bin/tip/aculib/t3000.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t3000.c,v 1.10 2002/05/07 06:56:50 hugh Exp $ */ +/* $OpenBSD: t3000.c,v 1.11 2003/04/04 21:50:00 deraadt Exp $ */ /* $NetBSD: t3000.c,v 1.5 1997/02/11 09:24:18 mrg Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)t3000.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: t3000.c,v 1.10 2002/05/07 06:56:50 hugh Exp $"; +static const char rcsid[] = "$OpenBSD: t3000.c,v 1.11 2003/04/04 21:50:00 deraadt Exp $"; #endif /* not lint */ /* @@ -109,7 +109,7 @@ badsynch: connected = t3000_connect(); #ifdef ACULOG if (timeout) { - (void)sprintf(line, "%ld second dial timeout", + (void)snprintf(line, sizeof line, "%ld second dial timeout", number(value(DIALTIMEOUT))); logent(value(HOST), num, "t3000", line); } |