artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b247cc1
)
Put back variable initialization mistakenly lost in 1.162
author
miod
<miod@openbsd.org>
Wed, 13 Dec 2023 11:20:18 +0000
(11:20 +0000)
committer
miod
<miod@openbsd.org>
Wed, 13 Dec 2023 11:20:18 +0000
(11:20 +0000)
sys/arch/hppa/hppa/trap.c
patch
|
blob
|
history
diff --git
a/sys/arch/hppa/hppa/trap.c
b/sys/arch/hppa/hppa/trap.c
index
2a92b7d
..
09af95b
100644
(file)
--- a/
sys/arch/hppa/hppa/trap.c
+++ b/
sys/arch/hppa/hppa/trap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: trap.c,v 1.16
2 2023/12/12 15:30:55 deraadt Exp $
*/
+/* $OpenBSD: trap.c,v 1.16
3 2023/12/13 11:20:18 miod Exp $
*/
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@
-779,6
+779,7
@@
syscall(struct trapframe *frame)
p->p_md.md_regs = frame;
argoff = 4; retq = 0;
+ code = frame->tf_t1;
args[0] = frame->tf_arg0;
args[1] = frame->tf_arg1;
args[2] = frame->tf_arg2;