]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - src/apply-default-acl.c
Rename apply_default_acl() to apply_default_acl_ex() and add a wrapper.
[apply-default-acl.git] / src / apply-default-acl.c
index f8ae4cd7126f7330a815ed3fe18511a75c5e70b2..e5b989ad9a585fe6224f16da93e969b34d07358c 100644 (file)
@@ -91,7 +91,7 @@ int apply_default_acl_nftw(const char *target,
                           int info,
                           struct FTW *ftw) {
 
-  if (apply_default_acl(target, sp, false)) {
+  if (apply_default_acl_ex(target, sp, false)) {
     return FTW_CONTINUE;
   }
   else {
@@ -113,7 +113,7 @@ int apply_default_acl_nftw_x(const char *target,
                             int info,
                             struct FTW *ftw) {
 
-  if (apply_default_acl(target, sp, true)) {
+  if (apply_default_acl_ex(target, sp, true)) {
     return FTW_CONTINUE;
   }
   else {
@@ -247,7 +247,7 @@ int main(int argc, char* argv[]) {
     }
     else {
       /* It's either a normal file, or we're not operating recursively. */
-      reapp_result = apply_default_acl(target, NULL, no_exec_mask);
+      reapp_result = apply_default_acl(target, no_exec_mask);
     }
 
     if (!reapp_result) {