From 53e012ae974917d889dadd8a36c83c26888301e7 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 25 Sep 2014 17:18:27 +0000 Subject: [PATCH] Fix typo. This commit was SVN r32795. --- opal/mca/btl/vader/btl_vader_get.c | 2 +- opal/mca/btl/vader/btl_vader_put.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/btl/vader/btl_vader_get.c b/opal/mca/btl/vader/btl_vader_get.c index 56294a3667..c42dafe340 100644 --- a/opal/mca/btl/vader/btl_vader_get.c +++ b/opal/mca/btl/vader/btl_vader_get.c @@ -74,7 +74,7 @@ int mca_btl_vader_get (struct mca_btl_base_module_t *btl, struct iovec dst_iov = {.iov_base = dst->seg_addr.pval, .iov_len = size}; ssize_t ret; - ret = process_vm_readv (endpoint->seg_ds.seg_cpid, &dst_iov, 1, &src_iov, 1, 0); + ret = process_vm_readv (endpoint->seg_ds->seg_cpid, &dst_iov, 1, &src_iov, 1, 0); if (ret != (ssize_t)size) { opal_output(0, "Read %ld, expected %lu, errno = %d\n", (long)ret, (unsigned long)size, errno); return OPAL_ERROR; diff --git a/opal/mca/btl/vader/btl_vader_put.c b/opal/mca/btl/vader/btl_vader_put.c index e59dbf526a..70ffeaf01f 100644 --- a/opal/mca/btl/vader/btl_vader_put.c +++ b/opal/mca/btl/vader/btl_vader_put.c @@ -74,7 +74,7 @@ int mca_btl_vader_put (struct mca_btl_base_module_t *btl, struct iovec dst_iov = {.iov_base = dst->seg_addr.pval, .iov_len = size}; ssize_t ret; - ret = process_vm_writev (endpoint->seg_ds.seg_cpid, &src_iov, 1, &dst_iov, 1, 0); + ret = process_vm_writev (endpoint->seg_ds->seg_cpid, &src_iov, 1, &dst_iov, 1, 0); if (ret != (ssize_t)size) { opal_output(0, "Wrote %ld, expected %lu, errno = %d\n", (long)ret, (unsigned long)size, errno); return OPAL_ERROR;