summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-atalk.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-atalk.c')
-rw-r--r--usr.sbin/tcpdump/print-atalk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-atalk.c b/usr.sbin/tcpdump/print-atalk.c
index 513267660be..7362ee264fe 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.28 2015/01/16 06:40:21 deraadt Exp $ */
+/* $OpenBSD: print-atalk.c,v 1.29 2015/08/21 02:07:32 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -224,7 +224,7 @@ ddp_print(register const u_char *bp, register u_int length, register int t,
clen = snaplen;
if (abuf == NULL) {
- abuf = (u_char *)malloc(snaplen);
+ abuf = malloc(snaplen);
if (abuf == NULL)
error("ddp_print: malloc");
}