mirror of
https://github.com/morgan9e/systemd
synced 2026-04-16 01:16:10 +09:00
main: pass the right error variable
This commit is contained in:
@@ -2637,7 +2637,7 @@ static void setenv_manager_environment(void) {
|
||||
|
||||
r = putenv_dup(*p, true);
|
||||
if (r < 0)
|
||||
log_warning_errno(errno, "Failed to setenv \"%s\", ignoring: %m", *p);
|
||||
log_warning_errno(r, "Failed to setenv \"%s\", ignoring: %m", *p);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user