summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-05 20:46:19 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-05 20:46:19 +0000
commitf8b663614d15595625d43981a3a84d4f4b51892c (patch)
tree643569cff2316327cbc84c0f684bc5e69c954723
parent190a4963d04313c30a96d683db9eeff784ebe563 (diff)
Notes
-rw-r--r--sys/kern/vfs_subr.c2
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);
/*