From dc44c75f13fd4b8e7f5f5c288bc98bf1099cf917 Mon Sep 17 00:00:00 2001 From: miod Date: Wed, 13 Dec 2023 11:20:18 +0000 Subject: [PATCH] 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; -- 2.20.1