summaryrefslogtreecommitdiffstats
path: root/src/H5FDgass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDgass.c')
-rw-r--r--src/H5FDgass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDgass.c b/src/H5FDgass.c
index ec545f1..911053d 100644
--- a/src/H5FDgass.c
+++ b/src/H5FDgass.c
@@ -22,7 +22,7 @@
/* The driver identification number, initialized at runtime */
static hid_t H5FD_GASS_g = 0;
-#ifdef HAVE_GASS
+#ifdef H5_HAVE_GASS
/* File operations */
#define OP_UNKNOWN 0
@@ -354,7 +354,7 @@ H5FD_gass_open(const char *name, unsigned flags, hid_t fapl_id,
if ((flags & H5F_ACC_CREAT) && (flags & H5F_ACC_RDWR) && (flags & H5F_ACC_EXCL)) {
if ((fd = globus_gass_open (filename, O_RDWR|O_TRUNC)) < 0)
- HRETURN_ERROR(H5E_IO, H5E_CANTOPENFILE, FAIL, "open failed");
+ HRETURN_ERROR(H5E_IO, H5E_CANTOPENFILE, NULL, "open failed");
}
else if ((flags & H5F_ACC_CREAT) && (flags & H5F_ACC_RDWR) && (flags & H5F_ACC_TRUNC)) {
@@ -675,4 +675,4 @@ H5FD_gass_write(H5FD_t *_file, hid_t dxpl_id/*unused*/, haddr_t addr,
FUNC_LEAVE(SUCCEED);
}
-#endif /* HAVE_GASS */
+#endif /* H5_HAVE_GASS */