Fix an inherited style bug: compare with NOCRED instead of NULL.

Sponsored by:	DARPA & NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-09-05 20:46:19 +00:00
parent 190a4963d0
commit f8b663614d

View File

@ -3553,7 +3553,7 @@ extattr_check_cred(struct vnode *vp, int attrnamespace,
/*
* Kernel-invoked always succeeds.
*/
if (cred == NULL)
if (cred == NOCRED)
return (0);
/*