Skip to content

Commit 33676c9

Browse files
committed
mca/base: fix deprecated variable help message
Actually print out the original variable name. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 2c1980a commit 33676c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/base/mca_base_var.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
1313
* Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
14-
* Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
14+
* Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights
1515
* reserved.
1616
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
1717
* Copyright (c) 2015 Research Organization for Information Science
@@ -1640,7 +1640,7 @@ static int var_set_from_env (mca_base_var_t *var, mca_base_var_t *original)
16401640
const char *new_variable = "None (going away)";
16411641

16421642
if (is_synonym) {
1643-
new_variable = var->mbv_full_name;
1643+
new_variable = original->mbv_full_name;
16441644
}
16451645

16461646
switch (var->mbv_source) {

0 commit comments

Comments
 (0)