From a6537022953933cdd5bdf6d66081d59fbdd88dc4 Mon Sep 17 00:00:00 2001 From: guenther Date: Tue, 6 Oct 2015 03:29:35 +0000 Subject: [PATCH] struct knote's kn_sdata needs to be the same type as struct kevent's data ok deraadt@ --- sys/sys/event.h | 4 ++-- 1 file 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 @@ -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 */ -- 2.20.1