aboutsummaryrefslogtreecommitdiff
path: root/std/os
diff options
context:
space:
mode:
authorAndrea Orru <andrea@orru.io>2018-04-13 11:10:36 -0700
committerAndrea Orru <andrea@orru.io>2018-04-13 11:10:36 -0700
commitd2c672ab0cc969f97e30cf6a12e4bffcac7cee18 (patch)
tree2dc3b7ce17a09da2dc51fd49e5a538045d64aa5a /std/os
parentc5f088e52c5f49524f79dcdceb82f13d295b7d70 (diff)
downloadzig-d2c672ab0cc969f97e30cf6a12e4bffcac7cee18.tar.gz
zig-d2c672ab0cc969f97e30cf6a12e4bffcac7cee18.zip
FIXME note
Diffstat (limited to 'std/os')
-rw-r--r--std/os/zen.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/os/zen.zig b/std/os/zen.zig
index b4b63f729f..40c2c468c3 100644
--- a/std/os/zen.zig
+++ b/std/os/zen.zig
@@ -93,6 +93,7 @@ pub fn read(fd: i32, buf: &u8, count: usize) usize {
while (i < count) : (i += 1) {
send(Message.to(Server.Keyboard, 0));
+ // FIXME: we should be certain that we are receiving from Keyboard.
var message = Message.from(MailboxId.This);
receive(&message);