summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-01-03 20:46:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-01-03 20:46:06 +0000
commit18e3159b84731971d6a6fd04b186575959c2ea35 (patch)
tree4f85cadb9f40596c7eecef9024f1839fa962842d /regress/lib/libc
parent45f86ebac69f513c05f7a1c9ff86504fcdcab15f (diff)
Nobody even compiles the #@!$&~ regression tests anyway.
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/setjmp-signal/setjmp-signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc/setjmp-signal/setjmp-signal.c b/regress/lib/libc/setjmp-signal/setjmp-signal.c
index 84947f372d9..310e4052eff 100644
--- a/regress/lib/libc/setjmp-signal/setjmp-signal.c
+++ b/regress/lib/libc/setjmp-signal/setjmp-signal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setjmp-signal.c,v 1.2 2002/07/31 05:25:55 art Exp $ */
+/* $OpenBSD: setjmp-signal.c,v 1.3 2003/01/03 20:46:05 miod Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
*/
@@ -19,7 +19,7 @@ main()
{
signal(SIGSEGV, segv_handler);
if (setjmp(jb) == 0) {
- *((int *)addr) = 0;
+ *((int *)0L) = 0;
return (1);
}
return (0);