summaryrefslogtreecommitdiff
path: root/usr.bin/tip/aculib/biz31.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-02 01:47:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-02 01:47:09 +0000
commit030dcde987345aefe1f3a302590b3bea15bb9d9f (patch)
tree131fa6470d49f58f09aadf2d0a48750242c5ff14 /usr.bin/tip/aculib/biz31.c
parent7bb2316828ce1d059124018af00067d5020f2397 (diff)
Merge in good changes from NetBSD:
Compile in strcict ansi (some day I'll get around to -Wall) use set* functions instead of modifying the lvalue Change a few sprintf() to snprintf() where it coudl possibly matter. Replace zzhack stuff with something saner to make tip work on alpha
Diffstat (limited to 'usr.bin/tip/aculib/biz31.c')
-rw-r--r--usr.bin/tip/aculib/biz31.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tip/aculib/biz31.c b/usr.bin/tip/aculib/biz31.c
index a3b0e4185e5..96c99372e57 100644
--- a/usr.bin/tip/aculib/biz31.c
+++ b/usr.bin/tip/aculib/biz31.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: biz31.c,v 1.3 1996/06/26 05:40:51 deraadt Exp $ */
-/* $NetBSD: biz31.c,v 1.4 1995/10/29 00:49:48 pk Exp $ */
+/* $OpenBSD: biz31.c,v 1.4 1997/04/02 01:47:06 millert Exp $ */
+/* $NetBSD: biz31.c,v 1.5 1997/02/11 09:24:14 mrg Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -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.3 1996/06/26 05:40:51 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: biz31.c,v 1.4 1997/04/02 01:47:06 millert Exp $";
#endif /* not lint */
#include "tip.h"
@@ -91,7 +91,7 @@ biz_dialer(num, mod)
if (timeout) {
char line[80];
- sprintf(line, "%d second dial timeout",
+ (void)sprintf(line, "%d second dial timeout",
number(value(DIALTIMEOUT)));
logent(value(HOST), num, "biz", line);
}