X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7164cd52c5de7009c4c96ab44f59bace8a08d5f2..ad69daa2e4cf9ce6789295bd7f55a55ac4d9d0b2:/print-tcp.c diff --git a/print-tcp.c b/print-tcp.c index 66e87492..ab3dbbf3 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -295,7 +295,8 @@ tcp_print(netdissect_options *ndo, calloc(1, sizeof(*th)); if (th->nxt == NULL) (*ndo->ndo_error)(ndo, - "tcp_print: calloc"); + S_ERR_ND_MEM_ALLOC, + "tcp_print: calloc"); } th->addr = tha; if (rev) @@ -352,7 +353,8 @@ tcp_print(netdissect_options *ndo, calloc(1, sizeof(*th)); if (th->nxt == NULL) (*ndo->ndo_error)(ndo, - "tcp_print: calloc"); + S_ERR_ND_MEM_ALLOC, + "tcp_print: calloc"); } th->addr = tha; if (rev)