Projects
Mega:23.03
systemd
_service:tar_scm:backport-homed-add-missing-SYN...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-homed-add-missing-SYNTHETIC_ERRNO.patch of Package systemd
From 00eff1d423d2cb336d1e378cc8f348d2d19c2ed4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Tue, 31 Aug 2021 10:47:29 +0200 Subject: [PATCH] homed: add missing SYNTHETIC_ERRNO() (cherry picked from commit 9191142ddfb3ccd2007245c01197d3f42943815c) Conflict:NA Reference:https://github.com/systemd/systemd/commit/00eff1d423d2cb336d1e378cc8f348d2d19c2ed4 --- src/home/homework-cifs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2