commit f85018e2dfbaedd5364813c667b16fa4b509ccaf
parent e876bc43b865a3f4a5904eb569ab0c3f2112e5c1
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date: Sun, 14 Mar 2021 01:07:44 +0200
rt: fix epoll_event layout for compat with kernel
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -367,7 +367,7 @@ export type epoll_data = union {
export type epoll_event = struct {
events: u32,
- data: epoll_data,
+ @offset(4) data: epoll_data,
};
export def TFD_TIMER_ABSTIME: int = 1;