summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-lock-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-lock-stat.c b/libdiskfs/file-lock-stat.c
index a529cd84..258bb367 100644
--- a/libdiskfs/file-lock-stat.c
+++ b/libdiskfs/file-lock-stat.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1994 Free Software Foundation
This file is part of the GNU Hurd.
@@ -31,6 +31,6 @@ diskfs_S_file_lock_stat (struct protid *cred,
return EOPNOTSUPP;
*mystatus = cred->po->lock_status;
- *otherstatus = cred->po->node->userlock->type;
+ *otherstatus = cred->po->np->userlock.type;
return 0;
}