Fixup r325264
Accidentally committed an incomplete diff.
This commit is contained in:
parent
c0b5261b55
commit
5d03f1e11f
@ -136,7 +136,7 @@ loginclass_find(const char *name)
|
||||
if (name[0] == '\0' || strlen(name) >= MAXLOGNAME)
|
||||
return (NULL);
|
||||
|
||||
lc = cred->cr_loginclass;
|
||||
lc = curthread->td_ucred->cr_loginclass;
|
||||
if (strcmp(name, lc->lc_name) == 0) {
|
||||
loginclass_hold(lc);
|
||||
return (lc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user