1
0
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:
Mike Yuan 2024-03-12 15:49:27 +08:00
parent 0870fc2404
commit 72a22e737b
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -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);
}