]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
src/libadacl.c: fix a function name inside perror output.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Feb 2018 22:23:41 +0000 (17:23 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Feb 2018 22:23:41 +0000 (17:23 -0500)
src/libadacl.c

index 7874c4ccdae8f647b2694644958085ced3dcb877..789d12c9807ba541a51a823da58fb1d9e269fa63 100644 (file)
@@ -477,7 +477,7 @@ int any_can_execute(int fd, const struct stat* sp) {
   acl_t acl = acl_get_fd(fd);
 
   if (acl == (acl_t)NULL) {
-    perror("any_can_execute (acl_get_file)");
+    perror("any_can_execute (acl_get_fd)");
     return ACL_ERROR;
   }