summaryrefslogtreecommitdiffstats
path: root/examples/h5_drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_drivers.c')
-rw-r--r--examples/h5_drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_drivers.c b/examples/h5_drivers.c
index bd57004..d9321ed 100644
--- a/examples/h5_drivers.c
+++ b/examples/h5_drivers.c
@@ -35,7 +35,7 @@ void
cleanup(const char *filename)
{
if (cleanup_g == -1)
- cleanup_g = getenv("HDF5_NOCLEANUP") ? 0 : 1;
+ cleanup_g = getenv(HDF5_NOCLEANUP) ? 0 : 1;
if (cleanup_g)
remove(filename);
}