summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-05-06 01:39:45 +0000
committergreen <green@FreeBSD.org>2000-05-06 01:39:45 +0000
commit3c204936cd715fdb0abc6efbedbb909e2fd9f942 (patch)
tree33cab69ac1522f88af5c45dfc7963b9b4eca4138 /sys
parent1190eca23adb60843588c7ad3c2c0e091e7a85fd (diff)
downloadFreeBSD-src-3c204936cd715fdb0abc6efbedbb909e2fd9f942.zip
FreeBSD-src-3c204936cd715fdb0abc6efbedbb909e2fd9f942.tar.gz
Give the "streams" modulea version (1) and depend on it from the
"svr4elf" module. This unbreaks the SVR4 KLD (which had an undefined function because of thenewly-committed KLD enhancements).
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/svr4/svr4_sysvec.c1
-rw-r--r--sys/dev/streams/streams.c1
-rw-r--r--sys/svr4/svr4_sysvec.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index 180bea1..5063ea6 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
0
};
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
+MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index f4c89e0..c0f6f1c 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -188,6 +188,7 @@ static moduledata_t streams_mod = {
0
};
DECLARE_MODULE(streams, streams_mod, SI_SUB_DRIVERS, SI_ORDER_ANY);
+MODULE_VERSION(streams, 1);
/*
* We only need open() and close() routines. open() calls socreate()
diff --git a/sys/svr4/svr4_sysvec.c b/sys/svr4/svr4_sysvec.c
index 180bea1..5063ea6 100644
--- a/sys/svr4/svr4_sysvec.c
+++ b/sys/svr4/svr4_sysvec.c
@@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
0
};
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
+MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
OpenPOWER on IntegriCloud