From: Lennart Poettering Date: Mon, 19 Oct 2020 12:20:26 +0000 (+0200) Subject: tmpfiles: no need to specify a synthetic error code if we don't propagate it X-Git-Tag: v247-rc1~50^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6008336ffab7c6fc38ddffa614de98de88d6e706;p=thirdparty%2Fsystemd.git tmpfiles: no need to specify a synthetic error code if we don't propagate it --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index c3c1c6d49af..2a8e89b783f 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1063,7 +1063,7 @@ static int parse_acls_from_arg(Item *item) { if (r < 0) log_warning_errno(r, "Failed to parse ACL \"%s\": %m. Ignoring", item->argument); #else - log_warning_errno(SYNTHETIC_ERRNO(ENOSYS), "ACLs are not supported. Ignoring"); + log_warning("ACLs are not supported. Ignoring."); #endif return 0;