rpcbind: use our roundup() macro when available through <sys/param.h>.

No functional change.
This commit is contained in:
pfg 2016-05-02 02:15:05 +00:00
parent e7cb48074e
commit fb39a70cdf

View File

@ -634,7 +634,7 @@ rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp,
/*
* Should be multiple of 4 for XDR.
*/
sendsz = ((sendsz + 3) / 4) * 4;
sendsz = roundup(sendsz, 4);
if (sendsz > RPC_BUF_MAX) {
#ifdef notyet
buf_alloc = alloca(sendsz); /* not in IDR2? */