/* Our caller has already checked for mflags */
u_int mflags = GET_U_1(rhp->rh_short.sh_flags);
const union controlmsg *cmp = (const union controlmsg *)rhp;
- u_int src, dst, info, blksize, eco, ueco, hello, other, vers;
+ uint16_t src, dst;
+ u_int info, blksize, eco, ueco, hello, other, vers;
u_int priority;
const u_char *rhpx = (const u_char *)rhp;
int ret;
str = (char *)malloc(siz = sizeof("00.0000"));
if (str == NULL)
(*ndo->ndo_error)(ndo, S_ERR_ND_MEM_ALLOC, "dnnum_string: malloc");
- nd_snprintf(str, siz, "%u.%u", area, node);
+ snprintf(str, siz, "%u.%u", area, node);
return(str);
}