aboutsummaryrefslogtreecommitdiff
path: root/hurd/intr-msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/intr-msg.c')
-rw-r--r--hurd/intr-msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index cdcd8d5..6f670b5 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -66,7 +66,7 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
" movl $-25, %%eax\n"
"_hurd_intr_rpc_msg_do_trap: lcall $7, $0 # status in %0\n"
"_hurd_intr_rpc_msg_in_trap: movl %%ecx, %%esp"
- : "=a" (err) : "m" ((&msg)[1]) : "%ecx");
+ : "=a" (err) : "m" ((&msg)[-1]) : "%ecx");
switch (err)
{