diff options
Diffstat (limited to 'usr.sbin/rpcbind/rpcb_svc_4.c')
-rw-r--r-- | usr.sbin/rpcbind/rpcb_svc_4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/rpcbind/rpcb_svc_4.c b/usr.sbin/rpcbind/rpcb_svc_4.c index f1bae52..0b2d4a8 100644 --- a/usr.sbin/rpcbind/rpcb_svc_4.c +++ b/usr.sbin/rpcbind/rpcb_svc_4.c @@ -389,8 +389,7 @@ rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, /* * Add it to rlist. */ - rp = (rpcb_entry_list_ptr) - malloc((u_int)sizeof (rpcb_entry_list)); + rp = malloc(sizeof (rpcb_entry_list)); if (rp == NULL) goto fail; a = &rp->rpcb_entry_map; |