diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-14 21:28:11 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-14 21:28:11 +0000 |
commit | 24449496361b24fee3c78c8eb8fc59f6160ee9de (patch) | |
tree | 528b2bb1f33767895f920def369dc7718484b85a /usr.sbin | |
parent | 2c47e591190837f1a6a7e44376cfa087fdde17a9 (diff) |
%d is 12 chars, not 10; ok deraadt
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/tcpdump/print-atalk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-atalk.c b/usr.sbin/tcpdump/print-atalk.c index ac391b226dc..2d99971ee71 100644 --- a/usr.sbin/tcpdump/print-atalk.c +++ b/usr.sbin/tcpdump/print-atalk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-atalk.c,v 1.19 2002/02/19 19:39:40 millert Exp $ */ +/* $OpenBSD: print-atalk.c,v 1.20 2003/04/14 21:28:10 pvalchev Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.19 2002/02/19 19:39:40 millert Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.20 2003/04/14 21:28:10 pvalchev Exp $ (LBL)"; #endif #include <sys/param.h> @@ -635,7 +635,7 @@ static struct tok skt2str[] = { static const char * ddpskt_string(register int skt) { - static char buf[10]; + static char buf[12]; if (nflag) { (void)snprintf(buf, sizeof buf, "%d", skt); |