diff options
author | marcus <marcus> | 2004-04-06 02:22:47 +0000 |
---|---|---|
committer | marcus <marcus> | 2004-04-06 02:22:47 +0000 |
commit | 74aff4e435965097087fe1a904d2f55ccd993ff6 (patch) | |
tree | 0665d4b24ff8e607b59e380f3a4700d926dc35a5 | |
parent | 26f5c141df594f490c2c18611914e97954b0dff8 (diff) |
Fix off by one error in last change.
-rw-r--r-- | physmem/physmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/physmem/physmem.c b/physmem/physmem.c index 01fc34b..6df61e9 100644 --- a/physmem/physmem.c +++ b/physmem/physmem.c @@ -250,8 +250,7 @@ setup_threads (void) while (--extra_threads > 0) { l4_thread_id_t tid; - tid = l4_global_id (l4_thread_no (l4_my_global_id ()) + 1 - + extra_threads, + tid = l4_global_id (l4_thread_no (l4_my_global_id ()) + extra_threads, l4_version (l4_my_global_id ())); pthread_pool_add_np (tid); } |