summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lheap.c b/test/lheap.c
index 9ed2b60..1c240d6 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -74,12 +74,12 @@ main(void)
goto error;
if (NULL==(f=H5I_object(file))) {
H5_FAILED();
- H5Eprint(stdout);
+ H5Eprint(H5E_DEFAULT, stdout);
goto error;
}
if (H5HL_create(f, H5P_DATASET_XFER_DEFAULT, 0, &heap_addr/*out*/)<0) {
H5_FAILED();
- H5Eprint(stdout);
+ H5Eprint(H5E_DEFAULT, stdout);
goto error;
}
for (i = 0; i < NOBJS; i++) {
@@ -90,7 +90,7 @@ main(void)
if ((size_t)(-1)==(obj[i]=H5HL_insert(f, H5P_DATASET_XFER_DEFAULT, heap_addr, strlen(buf)+1,
buf))) {
H5_FAILED();
- H5Eprint(stdout);
+ H5Eprint(H5E_DEFAULT, stdout);
goto error;
}
}
@@ -106,7 +106,7 @@ main(void)
if ((file=H5Fopen(filename, H5F_ACC_RDONLY, fapl))<0) goto error;
if (NULL==(f=H5I_object(file))) {
H5_FAILED();
- H5Eprint(stdout);
+ H5Eprint(H5E_DEFAULT, stdout);
goto error;
}
for (i=0; i<NOBJS; i++) {
@@ -115,7 +115,7 @@ main(void)
if (j>4) buf[j] = '\0';
if (NULL==(s=H5HL_peek(f, H5P_DATASET_XFER_DEFAULT, heap_addr, obj[i]))) {
H5_FAILED();
- H5Eprint(stdout);
+ H5Eprint(H5E_DEFAULT, stdout);
goto error;
}
if (strcmp(s, buf)) {