summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_rq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netncp/ncp_rq.c')
-rw-r--r--sys/netncp/ncp_rq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_rq.c b/sys/netncp/ncp_rq.c
index 38e3e54..f8f7ce2 100644
--- a/sys/netncp/ncp_rq.c
+++ b/sys/netncp/ncp_rq.c
@@ -67,7 +67,7 @@ ncp_rq_alloc_any(u_int32_t ptype, u_int8_t fn, struct ncp_conn *ncp,
struct ncp_rq *rqp;
int error;
- MALLOC(rqp, struct ncp_rq *, sizeof(*rqp), M_NCPRQ, M_WAITOK);
+ rqp = malloc(sizeof(*rqp), M_NCPRQ, M_WAITOK);
error = ncp_rq_init_any(rqp, ptype, fn, ncp, td, cred);
rqp->nr_flags |= NCPR_ALLOCED;
if (error) {
OpenPOWER on IntegriCloud