summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-02-26 21:30:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-02-26 21:30:19 +0000
commitc5c457259a2b339f071f0212fc463012f74de75d (patch)
treed9fc25710ffb6845fd6010381e84cdca6adae065 /sys/arch/sgi
parentb2b082f4cac10af3e0d4996bac834c10adde9bb4 (diff)
Zero rval[1] in setregs.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/sgi/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index 2f0151b9d86..5497eb696f0 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.33 2006/08/11 08:17:37 jasper Exp $ */
+/* $OpenBSD: machdep.c,v 1.34 2007/02/26 21:30:18 miod Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -801,6 +801,8 @@ setregs(p, pack, stack, retval)
p->p_md.md_pc_ctrl = 0;
p->p_md.md_watch_1 = 0;
p->p_md.md_watch_2 = 0;
+
+ retval[1] = 0;
}