summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-27 20:44:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-27 20:44:51 +0000
commit905dbd4384ef74bf579dbb407bd8cb2b9b4205ef (patch)
treedba85d538d0850a70d1d127b7a9d4efecad594f9 /sys/arch/sparc
parent3f293c7dd5d5e4abd8eeb19a6c1a19d4c0e22cb8 (diff)
Make struct label_t large enough for the kernel setjmp() purposes. Found after
deraadt@ and jsing@ noticed hppa64 label_t was too short; amazing this did not get noticed earlier.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/_types.h b/sys/arch/sparc/include/_types.h
index 8185af96b71..7b5454f27da 100644
--- a/sys/arch/sparc/include/_types.h
+++ b/sys/arch/sparc/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.14 2011/09/08 03:40:32 guenther Exp $ */
+/* $OpenBSD: _types.h,v 1.15 2011/09/27 20:44:50 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if defined(_KERNEL)
typedef struct label_t {
- int val[2];
+ int val[3];
} label_t;
#endif