svn commit: r325265 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Wed Nov 1 06:38:48 UTC 2017
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);
More information about the svn-src-all
mailing list