diff options
author | guenther <guenther@openbsd.org> | 2015-10-06 03:29:35 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2015-10-06 03:29:35 +0000 |
commit | a6537022953933cdd5bdf6d66081d59fbdd88dc4 (patch) | |
tree | 6589371e0eb9b63062f79431d8b25c001c2c6bcc /sys/sys/event.h | |
parent | tame "stdio getpw" (diff) | |
download | wireguard-openbsd-a6537022953933cdd5bdf6d66081d59fbdd88dc4.tar.xz wireguard-openbsd-a6537022953933cdd5bdf6d66081d59fbdd88dc4.zip |
struct knote's kn_sdata needs to be the same type as struct kevent's data
ok deraadt@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index d0523a7f858..5770900bdfb 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.20 2014/05/15 04:43:25 guenther Exp $ */ +/* $OpenBSD: event.h,v 1.21 2015/10/06 03:29:35 guenther Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -144,7 +144,7 @@ struct knote { struct kevent kn_kevent; int kn_status; int kn_sfflags; /* saved filter flags */ - int kn_sdata; /* saved data field */ + quad_t kn_sdata; /* saved data field */ union { struct file *p_fp; /* file data pointer */ struct process *p_process; /* process pointer */ |