trace: skip subject_id 0 in subject id allocator

Issue #3510
This commit is contained in:
Alexander Boettcher 2019-10-04 19:56:20 +02:00 committed by Christian Helmuth
parent 732215a83f
commit 1297a8fb57
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class Genode::Trace::Subject_registry
Session_label const &label, Thread_name const &name)
{
Subject *subject = new (&registry._md_alloc)
Subject(Subject_id(registry._id_cnt++), source_id, source, label, name);
Subject(Subject_id(++registry._id_cnt), source_id, source, label, name);
registry._entries.insert(subject);
}