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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user