tmpfiles: Fix parse_acl error message

parse_acl() returns the error instead of setting errno.
This commit is contained in:
Martin Pitt 2015-02-17 12:47:51 +01:00
parent 32c3d7144c
commit 484adfd914
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ static int get_acls_from_arg(Item *item) {
* afterwards, so the mask can be added now if necessary. */
r = parse_acl(item->argument, &item->acl_access, &item->acl_default, !item->force);
if (r < 0)
log_warning_errno(errno, "Failed to parse ACL \"%s\": %m. Ignoring",
log_warning_errno(r, "Failed to parse ACL \"%s\": %m. Ignoring",
item->argument);
#else
log_warning_errno(ENOSYS, "ACLs are not supported. Ignoring");