diff --git a/src/afs/VNOPS/afs_vnop_flock.c b/src/afs/VNOPS/afs_vnop_flock.c index 0782b3bfb1..a2e588400b 100644 --- a/src/afs/VNOPS/afs_vnop_flock.c +++ b/src/afs/VNOPS/afs_vnop_flock.c @@ -508,7 +508,7 @@ struct AFS_UCRED *acred; { AFS_STATCNT(afs_lockctl); if (code = afs_InitReq(&treq, acred)) return code; afs_InitFakeStat(&fakestate); - code = afs_EvalFakeStat(&fakestate, &avc, &treq); + code = afs_EvalFakeStat(&avc, &fakestate, &treq); if (code) { afs_PutFakeStat(&fakestate); return code;