fakestat-fix-eval-args-ordering-20020409

fixed bad args ordering in call to afs_EvalFakeStat
This commit is contained in:
Pavel Semerad 2002-04-09 19:08:10 +00:00 committed by Derrick Brashear
parent 7747fce7e7
commit c2109aba5c

View File

@ -508,7 +508,7 @@ struct AFS_UCRED *acred; {
AFS_STATCNT(afs_lockctl); AFS_STATCNT(afs_lockctl);
if (code = afs_InitReq(&treq, acred)) return code; if (code = afs_InitReq(&treq, acred)) return code;
afs_InitFakeStat(&fakestate); afs_InitFakeStat(&fakestate);
code = afs_EvalFakeStat(&fakestate, &avc, &treq); code = afs_EvalFakeStat(&avc, &fakestate, &treq);
if (code) { if (code) {
afs_PutFakeStat(&fakestate); afs_PutFakeStat(&fakestate);
return code; return code;