代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/systemd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From b57f76bff912de738a8da8feceb298160bebab26 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Tue, 5 Oct 2021 14:10:27 +0200
Subject: [PATCH] repart: use right error variable
(cherry picked from commit 8ac04a65477b59c9143b635c0c0daa5152d9b466)
Conflict:NA
Reference:https://github.com/systemd/systemd/commit/b57f76bff912de738a8da8feceb298160bebab26
---
src/partition/repart.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/partition/repart.c b/src/partition/repart.c
index 851c68cc4b..3c80d1380a 100644
--- a/src/partition/repart.c
+++ b/src/partition/repart.c
@@ -2784,7 +2784,7 @@ static int context_copy_blocks(Context *context) {
return log_error_errno(r, "Failed to copy in data from '%s': %m", p->copy_blocks_path);
if (fsync(target_fd) < 0)
- return log_error_errno(r, "Failed to synchronize copied data blocks: %m");
+ return log_error_errno(errno, "Failed to synchronize copied data blocks: %m");
if (p->encrypt != ENCRYPT_OFF) {
encrypted_dev_fd = safe_close(encrypted_dev_fd);
@@ -3060,7 +3060,7 @@ static int context_mkfs(Context *context) {
if (p->encrypt != ENCRYPT_OFF) {
if (fsync(encrypted_dev_fd) < 0)
- return log_error_errno(r, "Failed to synchronize LUKS volume: %m");
+ return log_error_errno(errno, "Failed to synchronize LUKS volume: %m");
encrypted_dev_fd = safe_close(encrypted_dev_fd);
r = deactivate_luks(cd, encrypted);
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。