diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/syscall_msg.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/syscall_msg.C b/src/lib/syscall_msg.C index 66eaa1679..f3d99a624 100644 --- a/src/lib/syscall_msg.C +++ b/src/lib/syscall_msg.C @@ -27,6 +27,7 @@ int msg_q_register(msg_q_t q, const char* name) msg_q_t vfsQ = (msg_q_t)_syscall0(MSGQ_RESOLVE_ROOT); msg_t* msg = msg_allocate(); msg->type = VFS_MSG_REGISTER_MSGQ; + msg->data[0] = (uint64_t) q; msg->extra_data = (void*) name; int rc = msg_sendrecv(vfsQ, msg); msg_free(msg); |