summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/peropen-make.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/peropen-make.c b/libdiskfs/peropen-make.c
index f8a83a58..6bb4c75f 100644
--- a/libdiskfs/peropen-make.c
+++ b/libdiskfs/peropen-make.c
@@ -25,7 +25,7 @@ diskfs_make_peropen (struct node *np, int flags)
struct peropen *po = malloc (sizeof (struct peropen));
diskfs_nref (np);
po->filepointer = 0;
- po->flock_status = LOCK_UN;
+ po->lock_status = LOCK_UN;
po->refcnt = 0;
po->openstat = flags;
po->np = np;