diff options
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 7c230b0c7a..61ca73c478 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -610,6 +610,7 @@ int main(int argc, char **argv) init_task_state(ts); ts->info = info; ts->bprm = &bprm; + ts->ts_tid = qemu_get_thread_id(); cpu->opaque = ts; target_set_brk(info->brk); |