STABLE14-ptserver-vicelog-missing-newlines-20090603

LICENSE IPL10
FIXES 124894

some ViceLog calls in ptserver were missing newlines. that's fixed.


(cherry picked from commit 4310874d8f)
This commit is contained in:
Andrew Deason 2009-06-03 22:44:14 +00:00 committed by Derrick Brashear
parent 95c08fac3a
commit 0e69a26d2b

View File

@ -215,7 +215,7 @@ SPR_INewEntry(call, aname, aid, oid)
code = iNewEntry(call, aname, aid, oid, &cid);
osi_auditU(call, PTS_INewEntEvent, code, AUD_ID, aid, AUD_STR, aname,
AUD_ID, oid, AUD_END);
ViceLog(25, ("PTS_INewEntry: code %d cid %d aid %d aname %s oid %d", code, cid, aid, aname, oid));
ViceLog(25, ("PTS_INewEntry: code %d cid %d aid %d aname %s oid %d\n", code, cid, aid, aname, oid));
return code;
}
@ -295,7 +295,7 @@ SPR_NewEntry(call, aname, flag, oid, aid)
code = newEntry(call, aname, flag, oid, aid, &cid);
osi_auditU(call, PTS_NewEntEvent, code, AUD_ID, *aid, AUD_STR, aname,
AUD_ID, oid, AUD_END);
ViceLog(25, ("PTS_NewEntry: code %d cid %d aid %d aname %s oid %d", code, cid, *aid, aname, oid));
ViceLog(25, ("PTS_NewEntry: code %d cid %d aid %d aname %s oid %d\n", code, cid, *aid, aname, oid));
return code;
}
@ -367,7 +367,7 @@ SPR_WhereIsIt(call, aid, apos)
code = whereIsIt(call, aid, apos, &cid);
osi_auditU(call, PTS_WheIsItEvent, code, AUD_ID, aid, AUD_LONG, *apos,
AUD_END);
ViceLog(125, ("PTS_WhereIsIt: code %d cid %d aid %d apos %d", code, cid, aid, *apos));
ViceLog(125, ("PTS_WhereIsIt: code %d cid %d aid %d apos %d\n", code, cid, aid, *apos));
return code;
}
@ -421,7 +421,7 @@ SPR_DumpEntry(call, apos, aentry)
code = dumpEntry(call, apos, aentry, &cid);
osi_auditU(call, PTS_DmpEntEvent, code, AUD_LONG, apos, AUD_END);
ViceLog(125, ("PTS_DumpEntry: code %d cid %d apos %d", code, cid, apos));
ViceLog(125, ("PTS_DumpEntry: code %d cid %d apos %d\n", code, cid, apos));
return code;
}
@ -485,7 +485,7 @@ SPR_AddToGroup(call, aid, gid)
code = addToGroup(call, aid, gid, &cid);
osi_auditU(call, PTS_AdToGrpEvent, code, AUD_ID, gid, AUD_ID, aid,
AUD_END);
ViceLog(5, ("PTS_AddToGroup: code %d cid %d gid %d aid %d", code, cid, gid, aid));
ViceLog(5, ("PTS_AddToGroup: code %d cid %d gid %d aid %d\n", code, cid, gid, aid));
return code;
}
@ -578,7 +578,7 @@ SPR_NameToID(call, aname, aid)
code = nameToID(call, aname, aid);
osi_auditU(call, PTS_NmToIdEvent, code, AUD_END);
ViceLog(125, ("PTS_NameToID: code %d", code));
ViceLog(125, ("PTS_NameToID: code %d\n", code));
return code;
}
@ -645,7 +645,7 @@ nameToID(call, aname, aid)
osi_audit(PTS_NmToIdEvent, code, AUD_STR,
aname->namelist_val[i], AUD_ID, aid->idlist_val[i],
AUD_END);
ViceLog(125, ("PTS_NameToID: code %d aname %s aid %d", code,
ViceLog(125, ("PTS_NameToID: code %d aname %s aid %d\n", code,
aname->namelist_val[i], aid->idlist_val[i]));
if (count++ > 50)
IOMGR_Poll(), count = 0;
@ -673,7 +673,7 @@ SPR_IDToName(call, aid, aname)
code = idToName(call, aid, aname);
osi_auditU(call, PTS_IdToNmEvent, code, AUD_END);
ViceLog(125, ("PTS_IDToName: code %d", code));
ViceLog(125, ("PTS_IDToName: code %d\n", code));
return code;
}
@ -723,7 +723,7 @@ idToName(call, aid, aname)
sprintf(aname->namelist_val[i], "%d", aid->idlist_val[i]);
osi_audit(PTS_IdToNmEvent, code, AUD_ID, aid->idlist_val[i],
AUD_STR, aname->namelist_val[i], AUD_END);
ViceLog(125, ("PTS_idToName: code %d aid %d aname %s", code,
ViceLog(125, ("PTS_idToName: code %d aid %d aname %s\n", code,
aid->idlist_val[i], aname->namelist_val[i]));
if (count++ > 50)
IOMGR_Poll(), count = 0;
@ -746,7 +746,7 @@ SPR_Delete(call, aid)
code = Delete(call, aid, &cid);
osi_auditU(call, PTS_DelEvent, code, AUD_ID, aid, AUD_END);
ViceLog(25, ("PTS_Delete: code %d cid %d aid %d", code, cid, aid));
ViceLog(25, ("PTS_Delete: code %d cid %d aid %d\n", code, cid, aid));
return code;
}
@ -988,7 +988,7 @@ SPR_UpdateEntry(call, aid, name, uentry)
code = UpdateEntry(call, aid, name, uentry, &cid);
osi_auditU(call, PTS_UpdEntEvent, code, AUD_ID, aid, AUD_STR, name, AUD_END);
ViceLog(5, ("PTS_UpdateEntry: code %d cid %d aid %d name %s", code, cid, aid, name));
ViceLog(5, ("PTS_UpdateEntry: code %d cid %d aid %d name %s\n", code, cid, aid, name));
return code;
}
@ -1086,7 +1086,7 @@ SPR_RemoveFromGroup(call, aid, gid)
code = removeFromGroup(call, aid, gid, &cid);
osi_auditU(call, PTS_RmFmGrpEvent, code, AUD_ID, gid, AUD_ID, aid,
AUD_END);
ViceLog(5, ("PTS_RemoveFromGroup: code %d cid %d gid %d aid %d", code, cid, gid, aid));
ViceLog(5, ("PTS_RemoveFromGroup: code %d cid %d gid %d aid %d\n", code, cid, gid, aid));
return code;
}
@ -1175,7 +1175,7 @@ SPR_GetCPS(call, aid, alist, over)
code = getCPS(call, aid, alist, over, &cid);
osi_auditU(call, PTS_GetCPSEvent, code, AUD_ID, aid, AUD_END);
ViceLog(125, ("PTS_GetCPS: code %d cid %d aid %d", code, cid, aid));
ViceLog(125, ("PTS_GetCPS: code %d cid %d aid %d\n", code, cid, aid));
return code;
}
@ -1260,7 +1260,7 @@ SPR_GetCPS2(call, aid, ahost, alist, over)
code = getCPS2(call, aid, ahost, alist, over, &cid);
osi_auditU(call, PTS_GetCPS2Event, code, AUD_ID, aid, AUD_HOST, ahost,
AUD_END);
ViceLog(125, ("PTS_GetCPS2: code %d cid %d aid %d ahost %d", code, cid, aid, ahost));
ViceLog(125, ("PTS_GetCPS2: code %d cid %d aid %d ahost %d\n", code, cid, aid, ahost));
return code;
}
@ -1355,7 +1355,7 @@ SPR_GetHostCPS(call, ahost, alist, over)
code = getHostCPS(call, ahost, alist, over);
osi_auditU(call, PTS_GetHCPSEvent, code, AUD_HOST, ahost, AUD_END);
ViceLog(125, ("PTS_GetHostCPS: code %d ahost %d", code, ahost));
ViceLog(125, ("PTS_GetHostCPS: code %d ahost %d\n", code, ahost));
return code;
}
@ -1428,7 +1428,7 @@ SPR_ListMax(call, uid, gid)
code = listMax(call, uid, gid);
osi_auditU(call, PTS_LstMaxEvent, code, AUD_END);
ViceLog(125, ("PTS_ListMax: code %d", code));
ViceLog(125, ("PTS_ListMax: code %d\n", code));
return code;
}
@ -1476,7 +1476,7 @@ SPR_SetMax(call, aid, gflag)
code = setMax(call, aid, gflag, &cid);
osi_auditU(call, PTS_SetMaxEvent, code, AUD_ID, aid, AUD_LONG, gflag,
AUD_END);
ViceLog(125, ("PTS_SetMax: code %d cid %d aid %d gflag %d", code, cid, aid, gflag));
ViceLog(125, ("PTS_SetMax: code %d cid %d aid %d gflag %d\n", code, cid, aid, gflag));
return code;
}
@ -1532,7 +1532,7 @@ SPR_ListEntry(call, aid, aentry)
code = listEntry(call, aid, aentry, &cid);
osi_auditU(call, PTS_LstEntEvent, code, AUD_ID, aid, AUD_END);
ViceLog(125, ("PTS_ListEntry: code %d cid %d aid %d", code, cid, aid));
ViceLog(125, ("PTS_ListEntry: code %d cid %d aid %d\n", code, cid, aid));
return code;
}
@ -1607,7 +1607,7 @@ SPR_ListEntries(call, flag, startindex, bulkentries, nextstartindex)
code = listEntries(call, flag, startindex, bulkentries, nextstartindex, &cid);
osi_auditU(call, PTS_LstEntsEvent, code, AUD_LONG, flag, AUD_END);
ViceLog(125, ("PTS_ListEntries: code %d cid %d flag %d", code, cid, flag));
ViceLog(125, ("PTS_ListEntries: code %d cid %d flag %d\n", code, cid, flag));
return code;
}
@ -1753,7 +1753,7 @@ SPR_ChangeEntry(call, aid, name, oid, newid)
code = changeEntry(call, aid, name, oid, newid, &cid);
osi_auditU(call, PTS_ChgEntEvent, code, AUD_ID, aid, AUD_STR, name,
AUD_LONG, oid, AUD_LONG, newid, AUD_END);
ViceLog(5, ("PTS_ChangeEntry: code %d cid %d aid %d name %s oid %d newid %d", code, cid, aid, name, oid, newid));
ViceLog(5, ("PTS_ChangeEntry: code %d cid %d aid %d name %s oid %d newid %d\n", code, cid, aid, name, oid, newid));
return code;
}
@ -1822,7 +1822,7 @@ SPR_SetFieldsEntry(call, id, mask, flags, ngroups, nusers, spare1, spare2)
setFieldsEntry(call, id, mask, flags, ngroups, nusers, spare1,
spare2, &cid);
osi_auditU(call, PTS_SetFldEntEvent, code, AUD_ID, id, AUD_END);
ViceLog(5, ("PTS_SetFieldsEntry: code %d cid %d id %d", code, cid, id));
ViceLog(5, ("PTS_SetFieldsEntry: code %d cid %d id %d\n", code, cid, id));
return code;
}
@ -1924,7 +1924,7 @@ SPR_ListElements(call, aid, alist, over)
code = listElements(call, aid, alist, over, &cid);
osi_auditU(call, PTS_LstEleEvent, code, AUD_ID, aid, AUD_END);
ViceLog(125, ("PTS_ListElements: code %d cid %d aid %d", code, cid, aid));
ViceLog(125, ("PTS_ListElements: code %d cid %d aid %d\n", code, cid, aid));
return code;
}
@ -1993,7 +1993,7 @@ SPR_ListSuperGroups(call, aid, alist, over)
code = listSuperGroups(call, aid, alist, over, &cid);
osi_auditU(call, PTS_LstSGrps, code, AUD_ID, aid, AUD_END);
ViceLog(125, ("PTS_ListSuperGroups: code %d cid %d aid %d", code, cid, aid));
ViceLog(125, ("PTS_ListSuperGroups: code %d cid %d aid %d\n", code, cid, aid));
return code;
#else
return RXGEN_OPCODE;
@ -2073,7 +2073,7 @@ SPR_ListOwned(call, aid, alist, lastP)
code = listOwned(call, aid, alist, lastP, &cid);
osi_auditU(call, PTS_LstOwnEvent, code, AUD_ID, aid, AUD_END);
ViceLog(125, ("PTS_ListOwned: code %d cid %d aid %d", code, cid, aid));
ViceLog(125, ("PTS_ListOwned: code %d cid %d aid %d\n", code, cid, aid));
return code;
}
@ -2166,7 +2166,7 @@ SPR_IsAMemberOf(call, uid, gid, flag)
code = isAMemberOf(call, uid, gid, flag, &cid);
osi_auditU(call, PTS_IsMemOfEvent, code, AUD_LONG, uid, AUD_LONG, gid,
AUD_END);
ViceLog(125, ("PTS_IsAMemberOf: code %d cid %d uid %d gid %d", code, cid, uid, gid));
ViceLog(125, ("PTS_IsAMemberOf: code %d cid %d uid %d gid %d\n", code, cid, uid, gid));
return code;
}