加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-fix-homed-log-message-typo-error.patch 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
hanjinpeng 提交于 2024-05-08 16:58 . sync patches from systemd community
From 5df96d470fea91b29279e3ae7ff31deff907f751 Mon Sep 17 00:00:00 2001
From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Date: Tue, 12 Mar 2024 15:22:43 +0100
Subject: [PATCH] homed: fix typo
(cherry picked from commit d3d880e558e608de351c0b518c10953cba2ed0b3)
---
src/home/homed-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c
index c4525310fc2..b8bef53db52 100644
--- a/src/home/homed-manager.c
+++ b/src/home/homed-manager.c
@@ -1040,7 +1040,7 @@ static int manager_bind_varlink(Manager *m) {
assert(!m->userdb_service);
r = path_extract_filename(socket_path, &m->userdb_service);
if (r < 0)
- return log_error_errno(r, "Failed to extra filename from socket path '%s': %m", socket_path);
+ return log_error_errno(r, "Failed to extract filename from socket path '%s': %m", socket_path);
/* Avoid recursion */
if (setenv("SYSTEMD_BYPASS_USERDB", m->userdb_service, 1) < 0)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化