summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:45:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-31 00:45:31 (GMT)
commit8b52aae45d4c461644657ee9be2a3e092006887e (patch)
treeefb4ff2d0cb5e6b5292b3286c13cf97e3a618419 /tools/h5ls
parent5acf9725e0586f66427d69c095f9741abf182946 (diff)
downloadhdf5-8b52aae45d4c461644657ee9be2a3e092006887e.zip
hdf5-8b52aae45d4c461644657ee9be2a3e092006887e.tar.gz
hdf5-8b52aae45d4c461644657ee9be2a3e092006887e.tar.bz2
[svn-r12835] Description:
Change H5Lget_linkinfo() to H5Lget_info() to better align with coming API changes. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index d34cae0..effab89 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1750,12 +1750,12 @@ slink_open(hid_t location, const char *name)
static hid_t
udlink_open(hid_t location, const char *name)
{
- H5L_linkinfo_t linfo;
+ H5L_info_t linfo;
char * buf = NULL;
char * filename = NULL;
char * path = NULL;
- if(H5Lget_linkinfo(location, name, &linfo, H5P_DEFAULT) < 0) return -1;
+ if(H5Lget_info(location, name, &linfo, H5P_DEFAULT) < 0) return -1;
switch(linfo.type)
{