From 2eef69e4f58f743b8f62436896237bf20f28bf9a Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 14 Feb 2017 09:55:43 -0700 Subject: [PATCH] mca/base: fix deprecated variable help message Actually print out the original variable name. Signed-off-by: Nathan Hjelm (cherry picked from commit 33676c996082dc3c46fc9aae6f629df7063e6fec) Signed-off-by: Nathan Hjelm --- opal/mca/base/mca_base_var.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/base/mca_base_var.c b/opal/mca/base/mca_base_var.c index 1757134234a..5a5c4f915ca 100644 --- a/opal/mca/base/mca_base_var.c +++ b/opal/mca/base/mca_base_var.c @@ -11,7 +11,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved. - * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights + * Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2015 Research Organization for Information Science @@ -1676,7 +1676,7 @@ static int var_set_from_env (mca_base_var_t *var, mca_base_var_t *original) const char *new_variable = "None (going away)"; if (is_synonym) { - new_variable = var->mbv_full_name; + new_variable = original->mbv_full_name; } switch (var->mbv_source) {