include node GUID and port number
Signed-off-by: Hal Rosenstock <[email protected]> --- diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c index e4487c1..7ba87fd 100644 --- a/libibnetdisc/src/ibnetdisc.c +++ b/libibnetdisc/src/ibnetdisc.c @@ -171,7 +171,8 @@ static int recv_port_info(smp_engine_t * engine, ibnd_smp_t * smp, if (!port) { port = node->ports[port_num] = calloc(1, sizeof(*port)); if (!port) { - IBND_ERROR("Failed to allocate port\n"); + IBND_ERROR("Failed to allocate 0x%" PRIx64 " port %u\n", + node->guid, port_num); return -1; } port->guid = -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
