X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fapply-default-acl.c;h=1d590303462fc601685cfdb2aeb22f6135c6947a;hb=2bc2d104386912d39aa78c6fceb5694014257a7e;hp=d2f8f536b530fa5b63d8fe605c75ab1ac1f737af;hpb=1be99786d05f3a7a75a17badae7b42491442a17a;p=apply-default-acl.git diff --git a/src/apply-default-acl.c b/src/apply-default-acl.c index d2f8f53..1d59030 100644 --- a/src/apply-default-acl.c +++ b/src/apply-default-acl.c @@ -464,7 +464,8 @@ int any_can_execute(int fd) { int assign_default_acl(const char* path, acl_t acl) { if (path == NULL) { - errno = ENOENT; + errno = EINVAL; + perror("assign_default_acl (args)"); return ACL_ERROR; }