svn commit: r214040 - projects/ofed/head/contrib/ofed/librdmacm/src
Jeff Roberson
jeff at FreeBSD.org
Mon Oct 18 22:24:40 UTC 2010
Author: jeff
Date: Mon Oct 18 22:24:39 2010
New Revision: 214040
URL: http://svn.freebsd.org/changeset/base/214040
Log:
- Use the correct path for rdma_cm in /dev
Sponsored by: Isilon Systems, iX Systems, and Panasas.
Modified:
projects/ofed/head/contrib/ofed/librdmacm/src/cma.c
Modified: projects/ofed/head/contrib/ofed/librdmacm/src/cma.c
==============================================================================
--- projects/ofed/head/contrib/ofed/librdmacm/src/cma.c Mon Oct 18 22:23:21 2010 (r214039)
+++ projects/ofed/head/contrib/ofed/librdmacm/src/cma.c Mon Oct 18 22:24:39 2010 (r214040)
@@ -317,9 +317,9 @@ struct rdma_event_channel *rdma_create_e
if (!channel)
return NULL;
- channel->fd = open("/dev/infiniband/rdma_cm", O_RDWR);
+ channel->fd = open("/dev/rdma_cm", O_RDWR);
if (channel->fd < 0) {
- printf("CMA: unable to open /dev/infiniband/rdma_cm\n");
+ printf("CMA: unable to open /dev/rdma_cm\n");
goto err;
}
return channel;
More information about the svn-src-projects
mailing list