summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/rpcsvc.c
diff options
context:
space:
mode:
authorShreyas Siravara <sshreyas@fb.com>2017-12-06 09:20:41 -0800
committerJeff Darcy <jeff@pl.atyp.us>2017-12-07 02:42:11 +0000
commitf6aa6141d035f488cd6275ac8fc447face231107 (patch)
treeacc6fd9a16741a3e7fd3d830b99608c924b79a21 /rpc/rpc-lib/src/rpcsvc.c
parentb5184d6e75b884f98c8aea37d1604f0a244b31cc (diff)
rpc: Fix format warnings when using IPV6_DEFAULT
Change-Id: I22e622212f30defe6f2af1a67d7b48a88d37a097 BUG: 1520974 Signed-off-by: Shreyas Siravara <sshreyas@fb.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpcsvc.c')
-rw-r--r--rpc/rpc-lib/src/rpcsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c
index cd8e3f18b0a..7b7866bff7a 100644
--- a/rpc/rpc-lib/src/rpcsvc.c
+++ b/rpc/rpc-lib/src/rpcsvc.c
@@ -992,7 +992,7 @@ rpcsvc_callback_build_record (rpcsvc_t *rpc, int prognum, int progver,
&request);
if (ret == -1) {
gf_log ("rpcsvc", GF_LOG_WARNING, "cannot build a rpc-request "
- "xid (%" GF_PRI_RPC_XID ")", xid);
+ "xid (%lu)", xid);
goto out;
}