STABLE14-pts-logging-20050619

enhance pts logging


(cherry picked from commit 0fed4743ae7763bf0b7c2c273cd54730e01f2249)
This commit is contained in:
Jeffrey Altman 2005-07-11 20:06:48 +00:00 committed by Derrick Brashear
parent 2174d7680a
commit c7eb015409

View File

@ -1201,6 +1201,10 @@ getCPS(call, aid, alist, over, cid)
if (code)
ABORT_WITH(tt, code);
code = WhoIsThis(call, tt, cid);
if (code)
ABORT_WITH(tt, PRPERM);
temp = FindByID(tt, aid);
if (!temp)
ABORT_WITH(tt, PRNOENT);
@ -1523,7 +1527,7 @@ SPR_ListEntry(call, aid, aentry)
afs_int32 code;
afs_int32 cid = ANONYMOUSID;
code = listEntry(call, aid, aentry, cid);
code = listEntry(call, aid, aentry, &cid);
osi_auditU(call, PTS_LstEntEvent, code, AUD_LONG, aid, AUD_END);
ViceLog(125, ("PTS_ListEntry: code %d cid %d aid %d", code, cid, aid));
return code;