X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/14353aa8f494621e510528b7be0e0f4ff82fdefb..de355530ae67247cbd0da700edb3a2a1dae884c2:/bsd/netat/adsp_stream.c diff --git a/bsd/netat/adsp_stream.c b/bsd/netat/adsp_stream.c index 5aa9d3071..13811b3a8 100644 --- a/bsd/netat/adsp_stream.c +++ b/bsd/netat/adsp_stream.c @@ -424,7 +424,7 @@ int adsp_wput(gref, mp) case DDP_IOC_GET_CFG: /* respond to an DDP_IOC_GET_CFG sent on an adsp fd */ if (((xm = gbuf_cont(mp)) == NULL) && - (xm = gbuf_alloc(sizeof(at_inet_t), PRI_MED)) == NULL) { + (xm = gbuf_alloc(sizeof(ddp_addr_t), PRI_MED)) == NULL) { iocbp->ioc_rval = -1; adsp_iocnak(gref, mp, ENOBUFS); return 0;