diff options
Diffstat (limited to 'examples/h5_elink_unix2win.c')
-rw-r--r-- | examples/h5_elink_unix2win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_elink_unix2win.c b/examples/h5_elink_unix2win.c index f9a7fca..a82e23d 100644 --- a/examples/h5_elink_unix2win.c +++ b/examples/h5_elink_unix2win.c @@ -169,7 +169,7 @@ unix2win_example(void) #endif /* Now follow the link */ - if((gid = H5Gopen(fid, "ext_link")) < 0) goto error; + if((gid = H5Gopen2(fid, "ext_link", H5P_DEFAULT)) < 0) goto error; printf("Successfully followed external link.\n"); /* Close the group and the file */ |