Fix a bug reported by BeFree. It looks the PCi stiff works now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -317,6 +317,7 @@ simple_module_info(module_info *mod, const char *file, int offset)
|
|||||||
/* Record where the module_info can be found */
|
/* Record where the module_info can be found */
|
||||||
m->offset = offset;
|
m->offset = offset;
|
||||||
m->file = (char*)kstrdup(file);
|
m->file = (char*)kstrdup(file);
|
||||||
|
m->ref_cnt = 0;
|
||||||
/* set the keep_loaded flag */
|
/* set the keep_loaded flag */
|
||||||
if (mod->flags & B_KEEP_LOADED) {
|
if (mod->flags & B_KEEP_LOADED) {
|
||||||
dprintf("module %s wants to be kept loaded\n", m->name);
|
dprintf("module %s wants to be kept loaded\n", m->name);
|
||||||
|
|||||||
Reference in New Issue
Block a user