summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/src/jni/h5oImp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/jni/h5oImp.c b/java/src/jni/h5oImp.c
index 3b4c068..6093e46 100644
--- a/java/src/jni/h5oImp.c
+++ b/java/src/jni/h5oImp.c
@@ -372,8 +372,8 @@ H5O_iterate_cb
constructor = CBENVPTR->GetMethodID(CBENVPAR cls, "<init>", "(IIIIJJJJJJ)V");
if (constructor != 0) {
hdrinfobuf = CBENVPTR->NewObjectA(CBENVPAR cls, constructor, args);
- if (ihinfobuf2 == NULL) {
- printf("FATAL ERROR: hdf/hdf5lib/structs/H5O_hdr_info_t: Creation failed\n");
+ if (hdrinfobuf == NULL) {
+ printf("H5O_iterate_cb ERROR: hdf/hdf5lib/structs/H5O_hdr_info_t: Creation failed\n");
}
else {
args[0].j = (jlong)info->meta_size.obj.index_size;
@@ -386,14 +386,14 @@ H5O_iterate_cb
if (constructor != 0) {
ihinfobuf1 = CBENVPTR->NewObjectA(CBENVPAR cls, constructor, args);
if (ihinfobuf1 == NULL) {
- printf("FATAL ERROR: hdf/hdf5lib/structs/H5_ih_info_t: Creation failed\n");
+ printf("H5O_iterate_cb ERROR: hdf/hdf5lib/structs/H5_ih_info_t: Creation failed\n");
}
else {
args[0].j = (jlong)info->meta_size.attr.index_size;
args[1].j = (jlong)info->meta_size.attr.heap_size;
ihinfobuf2 = CBENVPTR->NewObjectA(CBENVPAR cls, constructor, args);
if (ihinfobuf2 == NULL) {
- printf("FATAL ERROR: hdf/hdf5lib/structs/H5_ih_info_t: Creation failed\n");
+ printf("H5O_iterate_cb ERROR: hdf/hdf5lib/structs/H5_ih_info_t: Creation failed\n");
}
else {
args[0].j = (jlong)info->fileno;
@@ -416,7 +416,7 @@ H5O_iterate_cb
if (constructor != 0) {
cb_info_t = CBENVPTR->NewObjectA(CBENVPAR cls, constructor, args);
if (cb_info_t == NULL) {
- printf("FATAL ERROR: hdf/hdf5lib/structs/H5O_info_t: Creation failed\n");
+ printf("H5O_iterate_cb ERROR: hdf/hdf5lib/structs/H5O_info_t: Creation failed\n");
}
else {
status = CBENVPTR->CallIntMethod(CBENVPAR visit_callback, mid, g_id, str, cb_info_t, op_data);