diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-03-12 08:49:27 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-03-12 09:42:49 +0100 |
commit | 72a22e737befbc35e1383c52e8385aa5e1e0a4f5 (patch) | |
tree | 10bcac320e77772ecb80ce5196d20b6e5301bdcd /src/home/homework-cifs.c | |
parent | data-fd-util: accept size == SIZE_MAX and translate that to strlen (diff) | |
download | systemd-72a22e737befbc35e1383c52e8385aa5e1e0a4f5.tar.xz systemd-72a22e737befbc35e1383c52e8385aa5e1e0a4f5.zip |
homework-cifs: log correct errno
Follow-up for 606a1f203c8871871bc8c5833d66ccbef870b010
Diffstat (limited to 'src/home/homework-cifs.c')
-rw-r--r-- | src/home/homework-cifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-cifs.c b/src/home/homework-cifs.c index bb95741eb6..eb87b37915 100644 --- a/src/home/homework-cifs.c +++ b/src/home/homework-cifs.c @@ -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); } |