summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorSheetalPamecha <spamecha@redhat.com>2019-06-17 15:42:20 +0530
committerAmar Tumballi <amarts@redhat.com>2019-06-18 10:53:49 +0000
commitb79222f650f6613758f036c749f5f879a54148a7 (patch)
tree663a433d7541a88362ffc149148352e8172c7cf2 /rpc
parent25ad5aca23b257cdd129cd1d4518b048fbba87bb (diff)
core: fedora 30 compiler warnings
warning: ā€˜%sā€™ directive argument is null [-Wformat-overflow=] Change-Id: I69b8d47f0002c58b00d1cc947fac6f1c64e0b295 updates: bz#1193929 Signed-off-by: SheetalPamecha <spamecha@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index bb36dac67f8..61e6eea1d49 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -4160,7 +4160,7 @@ gf_rdma_handle_failed_send_completion(gf_rdma_peer_t *peer, struct ibv_wc *wc)
"send work request on `%s' returned error "
"wc.status = %d, wc.vendor_err = %d, post->buf = %p, "
"wc.byte_len = %d, post->reused = %d",
- (device != NULL) ? device->device_name : NULL, wc->status,
+ (device != NULL) ? device->device_name : "", wc->status,
wc->vendor_err, post->buf, wc->byte_len, post->reused);
if (wc->status == IBV_WC_RETRY_EXC_ERR) {