Correct size of data

This commit is contained in:
Jeremy Soller 2016-10-14 22:06:20 -06:00
parent 9ed3c0c185
commit 61bd62376b

View file

@ -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");