Skip to content

Commit

Permalink
main: pass the right error variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dtardon committed May 7, 2024
1 parent bad6cb5 commit ac10f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit ac10f7e

Please sign in to comment.