summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-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 7ee1940..f064634 100644
--- a/java/src/jni/h5plImp.c
+++ b/java/src/jni/h5plImp.c
@@ -212,7 +212,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;