summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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/sparc64
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/sparc64')
-rw-r--r--sys/arch/sparc64/include/_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/_types.h b/sys/arch/sparc64/include/_types.h
index fad34490b9e..332bf6bd4bf 100644
--- a/sys/arch/sparc64/include/_types.h
+++ b/sys/arch/sparc64/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.13 2011/09/08 03:40:32 guenther Exp $ */
+/* $OpenBSD: _types.h,v 1.14 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];
+ long val[2];
} label_t;
#endif