summaryrefslogtreecommitdiff
path: root/src/sysusers
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-01-31 14:21:49 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-01-31 14:30:41 +0100
commit5afdb4629aeb2cd20f3f7ba7e4b10f5d92be6a76 (patch)
tree9f49e52a762df0a1ac35399eec0ea8b7e1ae3a1e /src/sysusers
parent616c53544fa280a05545a88ce3a6bb0680bb4650 (diff)
downloadsystemd-5afdb4629aeb2cd20f3f7ba7e4b10f5d92be6a76.tar.gz
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.
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 1 insertions, 1 deletions
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);