summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-04-07 04:48:44 +0000
committerguenther <guenther@openbsd.org>2017-04-07 04:48:44 +0000
commit91587a9eed0198cba09cbee5a802a64f0140184b (patch)
tree022839c5df5d208bcda551799af036089e2c4585
parentSimplify the size calculation for memset() (diff)
downloadwireguard-openbsd-91587a9eed0198cba09cbee5a802a64f0140184b.tar.xz
wireguard-openbsd-91587a9eed0198cba09cbee5a802a64f0140184b.zip
si_addr should be of type void *, not char *
From Andrew Aldridge (i80and(at)foxquill.com) ok millert@ mpi@
-rw-r--r--sys/sys/siginfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/siginfo.h b/sys/sys/siginfo.h
index 814e8f20b26..dd6b32f39ab 100644
--- a/sys/sys/siginfo.h
+++ b/sys/sys/siginfo.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siginfo.h,v 1.11 2015/04/14 16:40:46 millert Exp $ */
+/* $OpenBSD: siginfo.h,v 1.12 2017/04/07 04:48:44 guenther Exp $ */
/*
* Copyright (c) 1997 Theo de Raadt
@@ -150,7 +150,7 @@ typedef struct {
} _pdata;
} _proc;
struct { /* SIGSEGV, SIGBUS, SIGILL and SIGFPE */
- caddr_t _addr; /* faulting address */
+ void *_addr; /* faulting address */
int _trapno; /* illegal trap number */
} _fault;
#if 0