summaryrefslogtreecommitdiff
path: root/sys/kern/kern_module.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-20 00:00:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-20 00:00:58 +0000
commit1d23cba9b7955a4df22ab08e8de9c0a94c870c17 (patch)
tree5f31819f30492b7281e1e5b737621eda2713f2f5 /sys/kern/kern_module.c
parentaffafdd8eae47b13a79d6592c1ebfa2d20025033 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r--sys/kern/kern_module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index 55c339d66423..f3803865aaa4 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_module.c,v 1.16 1999/01/29 08:36:44 dillon Exp $
+ * $Id: kern_module.c,v 1.17 1999/05/08 13:01:57 peter Exp $
*/
#include <sys/param.h>
@@ -136,6 +136,7 @@ module_register(const moduledata_t *data, linker_file_t container)
container = linker_current_file;
if (container)
TAILQ_INSERT_TAIL(&container->modules, newmod, flink);
+ newmod->file = container;
return 0;
}