summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-28 21:49:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-28 21:49:12 (GMT)
commit518e0ede771cbe1064fb8b42388450fd20fa3a62 (patch)
treeee674a9bdf08a39430a8498f3b43ed11099b82df /fortran
parent74ceb182bd741925909195abfbc07052c24f88d5 (diff)
downloadhdf5-518e0ede771cbe1064fb8b42388450fd20fa3a62.zip
hdf5-518e0ede771cbe1064fb8b42388450fd20fa3a62.tar.gz
hdf5-518e0ede771cbe1064fb8b42388450fd20fa3a62.tar.bz2
[svn-r14121] Description:
Correct a couple of swapped parameters for creating soft links. Tested on: FreeBSD/64 6.2 (liberty)
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/H5Gf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Gf.c b/fortran/src/H5Gf.c
index b51329c..0a037de 100644
--- a/fortran/src/H5Gf.c
+++ b/fortran/src/H5Gf.c
@@ -366,7 +366,7 @@ nh5glink2_c(hid_t_f *cur_loc_id, _fcd cur_name, int_f *cur_namelen,
break;
case H5L_TYPE_SOFT:
- if(H5Lcreate_soft(c_cur_name, (hid_t)*cur_loc_id, c_new_name, H5P_DEFAULT, H5P_DEFAULT) < 0)
+ if(H5Lcreate_soft(c_cur_name, (hid_t)*new_loc_id, c_new_name, H5P_DEFAULT, H5P_DEFAULT) < 0)
goto DONE;
break;