summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-09-26 06:07:29 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-09-26 06:07:29 +0000
commit81d7316a0fd03a90c6274ed025efe3d9db9c22d6 (patch)
tree3b3dde31daf6e3e419e5359dfc7fe415456a9ccc /usr.bin/tip/tip.c
parent450f0435cc177f758171ac06f69f18444988ba4f (diff)
Wall cleanup w/ some fixes; ok millert
Diffstat (limited to 'usr.bin/tip/tip.c')
-rw-r--r--usr.bin/tip/tip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index bfa760ad2f7..fbceb708ff5 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.c,v 1.13 2001/09/09 19:30:49 millert Exp $ */
+/* $OpenBSD: tip.c,v 1.14 2001/09/26 06:07:28 pvalchev Exp $ */
/* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: tip.c,v 1.13 2001/09/09 19:30:49 millert Exp $";
+static char rcsid[] = "$OpenBSD: tip.c,v 1.14 2001/09/26 06:07:28 pvalchev Exp $";
#endif /* not lint */
/*
@@ -135,7 +135,7 @@ main(argc, argv)
*/
if (strlen(system) > sizeof PNbuf - 1) {
fprintf(stderr, "%s: phone number too long (max = %d bytes)\n",
- __progname, sizeof(PNbuf) - 1);
+ __progname, (int)sizeof(PNbuf) - 1);
exit(1);
}
strncpy( PNbuf, system, sizeof PNbuf - 1 );