summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-04-15 16:19:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-04-15 16:19:29 (GMT)
commit6bf109d1aec7c4a8167668d81a3170ec75f97183 (patch)
treed01f884bc1529d12e2d910cecc34c1500fb0c762 /java/src
parent5696c02a3cceec73cfb404b7415ca33ca1a48718 (diff)
downloadhdf5-6bf109d1aec7c4a8167668d81a3170ec75f97183.zip
hdf5-6bf109d1aec7c4a8167668d81a3170ec75f97183.tar.gz
hdf5-6bf109d1aec7c4a8167668d81a3170ec75f97183.tar.bz2
Fix java for new H5Fget_info function
Diffstat (limited to 'java/src')
-rw-r--r--java/src/jni/h5fImp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/jni/h5fImp.c b/java/src/jni/h5fImp.c
index 26c1d17..80567d9 100644
--- a/java/src/jni/h5fImp.c
+++ b/java/src/jni/h5fImp.c
@@ -260,11 +260,11 @@ done:
*/
JNIEXPORT jint JNICALL
Java_hdf_hdf5lib_H5_H5Fget_1intent
- (JNIEnv *env, jclass cls, jlong file_id)
+ (JNIEnv *env, jclass clss, jlong file_id)
{
unsigned intent = 0;
- UNUSED(cls);
+ UNUSED(clss);
if (H5Fget_intent((hid_t)file_id, &intent) < 0)
H5_LIBRARY_ERROR(ENVONLY);
@@ -280,18 +280,18 @@ done:
*/
JNIEXPORT jlong JNICALL
Java_hdf_hdf5lib_H5_H5Fget_1fileno
- (JNIEnv *env, jclass cls, jlong file_id)
+ (JNIEnv *env, jclass clss, jlong file_id)
{
unsigned long fileno = 0;
- UNUSED(cls);
+ UNUSED(clss);
- if (H5Fget_intent((hid_t)file_id, &fileno) < 0)
+ if (H5Fget_fileno((hid_t)file_id, &fileno) < 0)
H5_LIBRARY_ERROR(ENVONLY);
done:
return (jlong)fileno;
-} /* end Java_hdf_hdf5lib_H5_H5Fget_1intent */
+} /* end Java_hdf_hdf5lib_H5_H5Fget_1fileno */
/*
* Class: hdf_hdf5lib_H5