Author: mjg
Date: Wed Nov 1 06:38:46 2017
New Revision: 325265
URL: https://svnweb.freebsd.org/changeset/base/325265
Log:
Fixup r325264
Accidentally committed an incomplete diff.
Modified:
head/sys/kern/kern_loginclass.c
Modified: head/sys/kern/kern_loginclass.c
==============================================================================
--- head/sys/kern/kern_loginclass.c Wed Nov 1 06:12:14 2017
(r325264)
+++ head/sys/kern/kern_loginclass.c Wed Nov 1 06:38:46 2017
(r325265)
@@ -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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"