Skip to content

Commit

Permalink
Fix ovis_log print format in zap_rdma
Browse files Browse the repository at this point in the history
  • Loading branch information
narategithub committed Jul 26, 2023
1 parent a761097 commit aba8cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/zap/rdma/zap_rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ static void handle_rendezvous(struct z_rdma_ep *rep,

zm = calloc(1, Z_RDMA_MAP_SZ);
if (!zm) {
LOG("%s:%d: Out of memory\n");
LOG("%s:%d: Out of memory\n", __FILE__, __LINE__);
return;
}
zm->rkey = sh->rkey;
Expand Down Expand Up @@ -1556,7 +1556,7 @@ static int cq_event_handler(struct ibv_cq *cq, int count)
if (wc.status != IBV_WC_WR_FLUSH_ERR) {
LOG("RDMA: cq_event_handler: endpoint %p, "
"WR op %d '%s', wc.status '%s', "
"addr %p len %d lkey %p.\n",
"addr %#lx len %d lkey %#x.\n",
ep,
ctxt->op, ibv_op_str(ctxt->op),
err_msg[wc.status],
Expand Down

0 comments on commit aba8cac

Please sign in to comment.