diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-10 20:53:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-10 20:53:20 +0000 |
commit | d503765c53f972b4a17bd6cff01af45063607e95 (patch) | |
tree | 9a0bf492fa4bcaddfc9045a8a1332c4e44769e13 /lib | |
parent | 7ca475b39becd3fe3a529b043fd7dc8984e351f7 (diff) |
correct argument handling; this has been broken since to beginning
and was writing to wrong memory.
ok jsing miod guenther
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/hppa/sys/sigpending.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/arch/hppa/sys/sigpending.S b/lib/libc/arch/hppa/sys/sigpending.S index fd8bd458cef..e58270c1147 100644 --- a/lib/libc/arch/hppa/sys/sigpending.S +++ b/lib/libc/arch/hppa/sys/sigpending.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigpending.S,v 1.10 2006/01/05 22:13:55 kettenis Exp $ */ +/* $OpenBSD: sigpending.S,v 1.11 2014/01/10 20:53:19 deraadt Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -30,8 +30,7 @@ SYSENTRY(sigpending) SYSCALL(sigpending) - ldw HPPA_FRAME_ARG(0)(sp), t1 - stw ret0, 0(t1) + stw ret0, 0(arg0) bv r0(rp) copy r0, ret0 SYSEXIT(sigpending) |