summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-08-06 16:00:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-08-06 16:00:28 (GMT)
commit6e4c036d5dc476396428f4b044e23043a80e8df7 (patch)
treeb18daae9c259e2c71b3dbeab3527e46319783d60 /java/src/jni
parent4d5255106cc35f1bb171ee6a67c2da6123163d32 (diff)
downloadhdf5-6e4c036d5dc476396428f4b044e23043a80e8df7.zip
hdf5-6e4c036d5dc476396428f4b044e23043a80e8df7.tar.gz
hdf5-6e4c036d5dc476396428f4b044e23043a80e8df7.tar.bz2
HDFFV-10544 Correct var name
Diffstat (limited to 'java/src/jni')
-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);