diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-05 20:46:19 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-05 20:46:19 +0000 |
| commit | f8b663614d15595625d43981a3a84d4f4b51892c (patch) | |
| tree | 643569cff2316327cbc84c0f684bc5e69c954723 | |
| parent | 190a4963d04313c30a96d683db9eeff784ebe563 (diff) | |
Notes
| -rw-r--r-- | sys/kern/vfs_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 31ecb5b81961..631fa720bccd 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -3553,7 +3553,7 @@ extattr_check_cred(struct vnode *vp, int attrnamespace, /* * Kernel-invoked always succeeds. */ - if (cred == NULL) + if (cred == NOCRED) return (0); /* |
