From e9fc928faa27adcec578875da43c8225af599b95 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 2 May 2016 02:15:05 +0000 Subject: [PATCH] rpcbind: use our roundup() macro when available through . No functional change. --- usr.sbin/rpcbind/rpcb_svc_com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c index 2ee2a4c7d87e..5c6b8dddc71b 100644 --- a/usr.sbin/rpcbind/rpcb_svc_com.c +++ b/usr.sbin/rpcbind/rpcb_svc_com.c @@ -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? */