summaryrefslogtreecommitdiffstats
path: root/examples/ph5_filtered_writes.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ph5_filtered_writes.c')
-rw-r--r--examples/ph5_filtered_writes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ph5_filtered_writes.c b/examples/ph5_filtered_writes.c
index 104704a..f4ddae9 100644
--- a/examples/ph5_filtered_writes.c
+++ b/examples/ph5_filtered_writes.c
@@ -102,7 +102,7 @@ fill_databuf(hsize_t start[], hsize_t count[], hsize_t stride[], C_DATATYPE *dat
static void
cleanup(char *filename)
{
- hbool_t do_cleanup = getenv(HDF5_NOCLEANUP) ? 0 : 1;
+ bool do_cleanup = getenv(HDF5_NOCLEANUP) ? false : true;
if (do_cleanup)
MPI_File_delete(filename, MPI_INFO_NULL);