summaryrefslogtreecommitdiff
path: root/lib/file-has-acl.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-03 15:48:57 +0200
committerBruno Haible <bruno@clisp.org>2011-10-03 15:48:57 +0200
commitd586cbff12b4814bf4d397b01faad61944428e75 (patch)
tree723d18480a8b036ea7d1035c088d21394a7ea3ac /lib/file-has-acl.c
parent33043a538ac757a6d24663b13e7108c8e82e56f2 (diff)
downloadgnulib-d586cbff12b4814bf4d397b01faad61944428e75.tar.gz
acl: Fix specification.
* lib/file-has-acl.c (file_has_acl): Fix specification.
Diffstat (limited to 'lib/file-has-acl.c')
-rw-r--r--lib/file-has-acl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c
index 1b7e392a3f..9a5e249c21 100644
--- a/lib/file-has-acl.c
+++ b/lib/file-has-acl.c
@@ -439,7 +439,8 @@ acl_nontrivial (int count, struct acl *entries)
/* Return 1 if NAME has a nontrivial access control list, 0 if NAME
only has no or a base access control list, and -1 (setting errno)
- on error. SB must be set to the stat buffer of FILE. */
+ on error. SB must be set to the stat buffer of NAME, obtained
+ through stat() or lstat(). */
int
file_has_acl (char const *name, struct stat const *sb)