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:
Bruno G. Albuquerque
2002-10-17 23:11:00 +00:00
parent 28c9a687e6
commit 3afbe60d92
+1
View File
@@ -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);