summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-atalk.c
diff options
context:
space:
mode:
authorpvalchev <pvalchev@openbsd.org>2003-04-14 21:28:10 +0000
committerpvalchev <pvalchev@openbsd.org>2003-04-14 21:28:10 +0000
commit8f2378a7f9e15b68c1e93f76cb286a25f8d2279c (patch)
tree5a51773f7770dd4a918d30926d26cc241f6dda7c /usr.sbin/tcpdump/print-atalk.c
parentrecommit, with the typo fixed (diff)
downloadwireguard-openbsd-8f2378a7f9e15b68c1e93f76cb286a25f8d2279c.tar.xz
wireguard-openbsd-8f2378a7f9e15b68c1e93f76cb286a25f8d2279c.zip
%d is 12 chars, not 10; ok deraadt
Diffstat (limited to 'usr.sbin/tcpdump/print-atalk.c')
-rw-r--r--usr.sbin/tcpdump/print-atalk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-atalk.c b/usr.sbin/tcpdump/print-atalk.c
index ebdabdf5b2e..2099f9d6766 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: /home/cvs/src/usr.sbin/tcpdump/print-atalk.c,v 1.19 2002/02/19 19:39:40 millert Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/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);