From 5afdb4629aeb2cd20f3f7ba7e4b10f5d92be6a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 31 Jan 2023 14:21:49 +0100 Subject: pid1,sysusers: drop unused SYNTHETIC_ERRNO The only function of SYNTHETIC_ERRNO is to set the return value. If we're ignoring the return value, it shouldn't be used. --- src/sysusers/sysusers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysusers') diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 4a695fcfab..4c31f96301 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1811,7 +1811,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) { if (r < 0) return r; if (r == 0) - log_syntax(NULL, LOG_WARNING, fname, line, SYNTHETIC_ERRNO(EUCLEAN), + log_syntax(NULL, LOG_WARNING, fname, line, 0, "Conflict with earlier configuration for %s '%s', ignoring line.", item_type_to_string(i->type), i->name); -- cgit v1.2.1