summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unlink.c b/test/unlink.c
index c8b7ddc..76c9bcc 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -464,7 +464,7 @@ check_new_move(void)
puts(" Unexpected object type, should have been a group");
goto error;
}
- if( sb_hard1.objno!=sb_hard2.objno) {
+ if( sb_hard1.u.obj.objno!=sb_hard2.u.obj.objno) {
H5_FAILED();
puts(" Hard link test failed. Link seems not to point to the ");
puts(" expected file location.");