summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-01-24 16:29:49 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-01-24 16:29:49 -0800
commitb32a40817fc0e2ac2edf2fa22a8813087fce2e7b (patch)
tree524a9defce0a42db3656ee443f649c3b34b6dbd0
parenta53586eebc166e35c1f48942205832810061daee (diff)
Correct variable descriptions in comment for SecurityCheckResourceIDAccess
-rw-r--r--Xext/security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/security.c b/Xext/security.c
index 4fbf6f283..bd397a9ab 100644
--- a/Xext/security.c
+++ b/Xext/security.c
@@ -946,10 +946,10 @@ SecurityAuditResourceIDAccess(
* rtype is its type or class.
* access_mode represents the intended use of the resource; see
* resource.h.
- * rval is a pointer to the resource structure for this resource.
+ * res is a pointer to the resource structure for this resource.
*
* Returns:
- * If access is granted, the value of rval that was passed in, else NULL.
+ * If access is granted, the value of rval that was passed in, else FALSE.
*
* Side Effects:
* Disallowed resource accesses are audited.