[MOAB-dev] r4704 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Mar 31 15:06:33 CDT 2011


Author: kraftche
Date: 2011-03-31 15:06:33 -0500 (Thu, 31 Mar 2011)
New Revision: 4704

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
more informative error output for ReadHDF5

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-03-31 20:06:16 UTC (rev 4703)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-03-31 20:06:33 UTC (rev 4704)
@@ -91,7 +91,7 @@
 {
   if (MB_SUCCESS != code) {
     if (dbgOut)
-      dbgOut->printf(1,"Failure with error code %d at %s:%d\n", (int)code, file, line);
+      dbgOut->printf(1,"Failure with error code %s at %s:%d\n", ErrorCodeStr[code], file, line);
 #if defined(WITH_MPI) && !defined(NDEBUG)
     MPI_Abort( MPI_COMM_WORLD ):
 #endif








































More information about the moab-dev mailing list