X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fapply-default-acl.c;h=b43a1c65bb6226eaa22eacd08122c8ba20920eec;hb=c95b2420e80bf52789c2651114456a91dac97880;hp=1eb49c44fd88b9d403c2bc0b4c8cce28e1e6ce87;hpb=40a0da32d5f91b416f45d8e66c4406774f3b6383;p=apply-default-acl.git diff --git a/src/apply-default-acl.c b/src/apply-default-acl.c index 1eb49c4..b43a1c6 100644 --- a/src/apply-default-acl.c +++ b/src/apply-default-acl.c @@ -629,7 +629,8 @@ int wipe_acls(int fd) { int apply_default_acl(const char* path, bool no_exec_mask) { if (path == NULL) { - errno = ENOENT; + errno = EINVAL; + perror("apply_default_acl (args)"); return ACL_ERROR; }