summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-transport/socket/src')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index a770e6954be..dc227137d57 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -1744,9 +1744,9 @@ __socket_read_accepted_successful_reply(rpc_transport_t *this)
free(read_rsp.xdata.xdata_val);
- /* need to round off to proper roof (%4), as XDR packing pads
+ /* need to round off to proper gf_roof (%4), as XDR packing pads
the end of opaque object with '0' */
- size = roof(read_rsp.xdata.xdata_len, 4);
+ size = gf_roof(read_rsp.xdata.xdata_len, 4);
if (!size) {
frag->call_body.reply
@@ -1874,9 +1874,9 @@ __socket_read_accepted_successful_reply_v2(rpc_transport_t *this)
free(read_rsp.xdata.pairs.pairs_val);
- /* need to round off to proper roof (%4), as XDR packing pads
+ /* need to round off to proper gf_roof (%4), as XDR packing pads
the end of opaque object with '0' */
- size = roof(read_rsp.xdata.xdr_size, 4);
+ size = gf_roof(read_rsp.xdata.xdr_size, 4);
if (!size) {
frag->call_body.reply