struct mgmt_txn_req *txn_req)
{
struct txn_req_get_tree *get_tree = txn_req->req.get_tree;
+ uint64_t req_id = txn_req->req_id;
int ret = 0;
/* cancel timer and send reply onward */
if (ret) {
MGMTD_TXN_ERR("Error saving the results of GETTREE for txn-id %" PRIu64
" req_id %" PRIu64 " to requested type %u",
- txn->txn_id, txn_req->req_id,
- get_tree->result_type);
+ txn->txn_id, req_id, get_tree->result_type);
- (void)mgmt_fe_adapter_txn_error(txn->txn_id, txn_req->req_id,
- false, ret,
+ (void)mgmt_fe_adapter_txn_error(txn->txn_id, req_id, false, ret,
"Error converting results of GETTREE");
}