mirror of
https://github.com/systemd/systemd.git
synced 2025-01-24 06:04:05 +03:00
homework-cifs: log correct errno
Follow-up for 606a1f203c8871871bc8c5833d66ccbef870b010
This commit is contained in:
parent
0870fc2404
commit
72a22e737b
@ -94,7 +94,7 @@ int home_setup_cifs(
|
||||
|
||||
r = setenvf("PASSWD_FD", /* overwrite= */ true, "%d", passwd_fd);
|
||||
if (r < 0) {
|
||||
log_error_errno(errno, "Failed to set $PASSWD_FD: %m");
|
||||
log_error_errno(r, "Failed to set $PASSWD_FD: %m");
|
||||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user