The boot item list was not initialized; this was no problem, though, as

no items can be removed from that list - nevertheless, it's wrong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-06-13 13:01:13 +00:00
parent ff9fb62471
commit a69e0ac327
3 changed files with 14 additions and 0 deletions
+10
View File
@@ -60,3 +60,13 @@ get_boot_item(const char *name)
return NULL;
}
status_t
boot_item_init(void)
{
new(&sItemList) ItemList;
// static initializers do not work in the kernel,
// so we have to do it here, manually
return B_OK;
}