From 933b447c7a2ec7854b659874c49d7d82d0841ccf Mon Sep 17 00:00:00 2001
From: 4lDO2 <4lDO2@protonmail.com>
Date: Thu, 29 Aug 2024 14:11:52 +0200
Subject: [PATCH] redox-rt: fix i686 pctl pending offset

---
 redox-rt/src/arch/i686.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redox-rt/src/arch/i686.rs b/redox-rt/src/arch/i686.rs
index 2efd8931..1f0cbdd9 100644
--- a/redox-rt/src/arch/i686.rs
+++ b/redox-rt/src/arch/i686.rs
@@ -272,7 +272,7 @@ __relibc_internal_sigentry_crit_third:
     tcb_sa_off = const offset_of!(crate::Tcb, os_specific) + offset_of!(RtSigarea, arch),
     tcb_sc_off = const offset_of!(crate::Tcb, os_specific) + offset_of!(RtSigarea, control),
     pctl_off_actions = const offset_of!(SigProcControl, actions),
-    pctl_word = const offset_of!(SigProcControl, actions),
+    pctl_word = const offset_of!(SigProcControl, pending),
     pctl = sym PROC_CONTROL_STRUCT,
     STACK_ALIGN = const 16,
 ]);
-- 
GitLab