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); }