diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-08-31 10:47:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-08-31 10:51:50 +0200 |
commit | 9191142ddfb3ccd2007245c01197d3f42943815c (patch) | |
tree | 69b7adef2f6c8e3d230d0e799f0d3756b908dbe0 /src/home/homework-cifs.c | |
parent | e070b9eac92993422db25c72ebdbdcc1cf424a0f (diff) | |
download | systemd-9191142ddfb3ccd2007245c01197d3f42943815c.tar.gz |
homed: add missing SYNTHETIC_ERRNO()
Diffstat (limited to 'src/home/homework-cifs.c')
-rw-r--r-- | src/home/homework-cifs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/homework-cifs.c b/src/home/homework-cifs.c index a697f7e5ee..04a4db8a94 100644 --- a/src/home/homework-cifs.c +++ b/src/home/homework-cifs.c @@ -86,7 +86,8 @@ int home_prepare_cifs( } if (!mounted) - return log_error_errno(ENOKEY, "Failed to mount home directory with supplied password."); + return log_error_errno(SYNTHETIC_ERRNO(ENOKEY), + "Failed to mount home directory with supplied password."); setup->root_fd = open("/run/systemd/user-home-mount", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); } |