diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-02-17 12:47:51 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-02-17 12:47:51 +0100 |
commit | 484adfd914504cd7e95867cea20ca7af71b888f2 (patch) | |
tree | d1dd1d9237e4085e0ce8ca7b24a8117571b6f66f | |
parent | 32c3d7144cf9a5c8c03761d7f198142ca0f5f7b8 (diff) |
tmpfiles: Fix parse_acl error message
parse_acl() returns the error instead of setting errno.
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index c948d4d21..88ba7e46a 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -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"); |