diff options
Diffstat (limited to 'print-decnet.c')
-rw-r--r-- | print-decnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-decnet.c b/print-decnet.c index ef610767..253d133d 100644 --- a/print-decnet.c +++ b/print-decnet.c @@ -1246,7 +1246,7 @@ dnnum_string(netdissect_options *ndo, u_short dnaddr) /* malloc() return used by the 'dnaddrtable' hash table: do not free() */ str = (char *)malloc(siz = sizeof("00.0000")); if (str == NULL) - (*ndo->ndo_error)(ndo, "dnnum_string: malloc"); + (*ndo->ndo_error)(ndo, S_ERR_ND_MEM_ALLOC, "dnnum_string: malloc"); nd_snprintf(str, siz, "%u.%u", area, node); return(str); } |