mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
c_epoll_event should be packed
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f8eca84a99
commit
6ecb424dfc
@ -134,7 +134,7 @@ pub fn sys_epoll_wait(
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, Pod)]
|
||||
#[repr(C)]
|
||||
#[repr(C, packed)]
|
||||
struct c_epoll_event {
|
||||
events: u32,
|
||||
data: u64,
|
||||
|
Reference in New Issue
Block a user