From 90d719125cf2233b8c7255c242ebed818d268661 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 7 Jul 2009 15:28:34 +0000 Subject: [PATCH] If the file interface is disabled don't try to print a string as an int. This commit was SVN r21609. --- ompi/tools/ompi_info/param.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ompi/tools/ompi_info/param.c b/ompi/tools/ompi_info/param.c index 3af11ce224..e7c8d6d5a9 100644 --- a/ompi/tools/ompi_info/param.c +++ b/ompi/tools/ompi_info/param.c @@ -830,12 +830,12 @@ void ompi_info_do_config(bool want_all) MPI_MAX_INFO_VAL); ompi_info_out_int("MPI_MAX_PORT_NAME", "options:mpi-max-port-name", MPI_MAX_PORT_NAME); - ompi_info_out_int("MPI_MAX_DATAREP_STRING", "options:mpi-max-datarep-string", #if OMPI_PROVIDE_MPI_FILE_INTERFACE - MPI_MAX_DATAREP_STRING + ompi_info_out_int("MPI_MAX_DATAREP_STRING", "options:mpi-max-datarep-string", + MPI_MAX_DATAREP_STRING); #else - "IO interface not provided" + ompi_info_out("MPI_MAX_DATAREP_STRING", "options:mpi-max-datarep-string", + "IO interface not provided"); #endif - ); }