summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-12-21 05:45:04 +0000
committerguenther <guenther@openbsd.org>2013-12-21 05:45:04 +0000
commit4659da408d614c411848196268ea343b86dd41ca (patch)
treed3619425772c5bd677fb97625b85c162fd92b823
parentUse timespec and CLOCK_MONOTONIC for a timing test (diff)
downloadwireguard-openbsd-4659da408d614c411848196268ea343b86dd41ca.tar.xz
wireguard-openbsd-4659da408d614c411848196268ea343b86dd41ca.zip
Match the type to the calls
-rw-r--r--regress/sys/kern/stackjmp/stackjmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/stackjmp/stackjmp.c b/regress/sys/kern/stackjmp/stackjmp.c
index 2dc5c98901c..185b84e9493 100644
--- a/regress/sys/kern/stackjmp/stackjmp.c
+++ b/regress/sys/kern/stackjmp/stackjmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stackjmp.c,v 1.2 2012/06/29 00:21:55 matthew Exp $ */
+/* $OpenBSD: stackjmp.c,v 1.3 2013/12/21 05:45:04 guenther Exp $ */
/*
* Written by Matthew Dempsky, 2012.
* Public domain.
@@ -10,7 +10,7 @@
#include <string.h>
#include <unistd.h>
-static jmp_buf jb;
+static sigjmp_buf jb;
static char buf[SIGSTKSZ];
static volatile int handled;