aboutsummaryrefslogtreecommitdiff
path: root/hurd/intr-msg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-08-17 09:00:05 +0000
committerRoland McGrath <roland@gnu.org>1995-08-17 09:00:05 +0000
commit191abc516c6f0ecd02f84ec98994b223252b48d7 (patch)
tree0e6b8044ad0fdd69692cd6511c36f903e1d0e75b /hurd/intr-msg.c
parent2f85f8807d39be6b9009d09c0881b8c7c5f7e6f4 (diff)
downloadglibc-191abc516c6f0ecd02f84ec98994b223252b48d7.zip
glibc-191abc516c6f0ecd02f84ec98994b223252b48d7.tar.gz
glibc-191abc516c6f0ecd02f84ec98994b223252b48d7.tar.bz2
Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/intr-msg.c: Fixed calculation of syscall %esp. Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. * hurd/Makefile (sig): Add intr-msg.
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)
{