From bccdbb5d31a5f5230f0a2baed4855a0c7d325140 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 13 Dec 2023 11:20:19 +0000 Subject: Put back variable initialization mistakenly lost in 1.162 --- sys/arch/hppa/hppa/trap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 2a92b7d7b40..09af95b8da2 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.162 2023/12/12 15:30:55 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.163 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; -- cgit v1.2.3