Correct size of data
This commit is contained in:
parent
9ed3c0c185
commit
61bd62376b
|
@ -97,7 +97,7 @@ fn main() {
|
|||
a: syscall::number::SYS_FEVENT,
|
||||
b: *screen_id,
|
||||
c: EVENT_READ,
|
||||
d: mem::size_of::<Packet>()
|
||||
d: mem::size_of::<orbclient::Event>()
|
||||
};
|
||||
|
||||
socket.write(&event_packet).expect("vesad: failed to write display event");
|
||||
|
|
Loading…
Reference in a new issue