From 42d9d861fc85aabd317b301994d4eac46e500765 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 29 Apr 2016 08:55:46 -0700 Subject: [PATCH] Fix minor typo in PMIx packing of pmix_app_t - thanks to Gilles for pointing it out --- opal/mca/pmix/pmix114/pmix/src/buffer_ops/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/pmix/pmix114/pmix/src/buffer_ops/pack.c b/opal/mca/pmix/pmix114/pmix/src/buffer_ops/pack.c index 595bbfd48e..1967d72d66 100644 --- a/opal/mca/pmix/pmix114/pmix/src/buffer_ops/pack.c +++ b/opal/mca/pmix/pmix114/pmix/src/buffer_ops/pack.c @@ -669,7 +669,7 @@ int pmix_bfrop_pack_app(pmix_buffer_t *buffer, const void *src, if (PMIX_SUCCESS != (ret = pmix_bfrop_pack_int(buffer, &app[i].argc, 1, PMIX_INT))) { return ret; } - for (j=0; j < app->argc; j++) { + for (j=0; j < app[i].argc; j++) { if (PMIX_SUCCESS != (ret = pmix_bfrop_pack_string(buffer, &app[i].argv[j], 1, PMIX_STRING))) { return ret; }