From 2ae02f4d8c98b3a7a9e9894405a421c16f3831ca Mon Sep 17 00:00:00 2001 From: pjht Date: Sat, 29 Jun 2019 16:54:57 -0500 Subject: [PATCH] Fix init not properly setting up message for second test --- init/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/main.c b/init/main.c index 68d2a17..83f6a1c 100644 --- a/init/main.c +++ b/init/main.c @@ -160,7 +160,10 @@ int main(char* initrd, uint32_t initrd_sz) { display_msg(vfs_msg); vga_write_string("Sending second test message\n"); msg_data=make_msg(VFS_OPEN,"r","/dev/sdb"); + msg.from=box; + msg.to=1; msg.msg=msg_data; + msg.size=sizeof(vfs_message); mailbox_send_msg(&msg); free(msg.msg); yield();