Date: Wed, 1 Nov 2017 06:38:46 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325265 - head/sys/kern Message-ID: <201711010638.vA16ckQ6050682@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711010638.vA16ckQ6050682>