summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/jni')
-rw-r--r--java/src/jni/h5plImp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5plImp.c b/java/src/jni/h5plImp.c
index 322d5d1..9b6100e 100644
--- a/java/src/jni/h5plImp.c
+++ b/java/src/jni/h5plImp.c
@@ -214,7 +214,7 @@ Java_hdf_hdf5lib_H5_H5PLsize
(JNIEnv *env, jclass clss)
{
unsigned int listsize = 0;
- if (H5PLget_loading_state(&listsize) < 0) {
+ if (H5PLsize(&listsize) < 0) {
h5libraryError(env);
}
return (jint)listsize;