summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 442f40c..28544a3 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -631,7 +631,7 @@ H5Pcopy(hid_t plist_id)
H5TRACE1("i","i",plist_id);
if (H5P_DEFAULT==plist_id)
- return H5P_DEFAULT;
+ HRETURN(H5P_DEFAULT);
/* Check args */
if (NULL == (plist = H5I_object(plist_id)) ||