summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-10-06 03:29:36 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-10-06 03:29:36 +0000
commitc591bd19616cad834b6ed5d16f7726b122d1d187 (patch)
tree174c40af76555064f54710b14eb4e1de4f0acd48
parent0720ed4f287e472de81216adacebdb32089beac5 (diff)
struct knote's kn_sdata needs to be the same type as struct kevent's data
ok deraadt@
-rw-r--r--sys/sys/event.h4
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 */