From a36d7e60265888d46bfcf33351ab23005b8736bd Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 5 Aug 2015 05:27:46 -0700 Subject: [PATCH] treematch: __FUNCTION__ -> __func__ fixes --- ompi/mca/topo/treematch/treematch/tm_bucket.c | 2 +- ompi/mca/topo/treematch/treematch/tm_tree.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/topo/treematch/treematch/tm_bucket.c b/ompi/mca/topo/treematch/treematch/tm_bucket.c index 44d0169bce..ee50b39c69 100644 --- a/ompi/mca/topo/treematch/treematch/tm_bucket.c +++ b/ompi/mca/topo/treematch/treematch/tm_bucket.c @@ -514,7 +514,7 @@ void partial_update_val (int nb_args, void **args){ if(nb_args != 6){ if(verbose_level >= ERROR) - fprintf(stderr,"Wrong number of args in %s: %d\n",__FUNCTION__, nb_args); + fprintf(stderr,"Wrong number of args in %s: %d\n",__func__, nb_args); exit(-1); } diff --git a/ompi/mca/topo/treematch/treematch/tm_tree.c b/ompi/mca/topo/treematch/treematch/tm_tree.c index 0d39a8e3b2..ab52e0f30f 100644 --- a/ompi/mca/topo/treematch/treematch/tm_tree.c +++ b/ompi/mca/topo/treematch/treematch/tm_tree.c @@ -239,7 +239,7 @@ void partial_aggregate_aff_mat (int nb_args, void **args){ if(nb_args != 6){ if(verbose_level >= ERROR) - fprintf(stderr,"Wrong number of args in %s: %d\n",__FUNCTION__, nb_args); + fprintf(stderr,"Wrong number of args in %s: %d\n",__func__, nb_args); exit(-1); }