diff options
author | bde <bde@FreeBSD.org> | 1995-11-13 07:19:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-13 07:19:10 +0000 |
commit | 4d0291b75bede5c6394b403a5dd945d6015f96d0 (patch) | |
tree | 90197e807044255de692b99145a90cfe3f817479 /sys/modules/coff | |
parent | 746199ef2edbca4d52a5733af2cbabeba8e6d027 (diff) | |
download | FreeBSD-src-4d0291b75bede5c6394b403a5dd945d6015f96d0.zip FreeBSD-src-4d0291b75bede5c6394b403a5dd945d6015f96d0.tar.gz |
Replaced nosys() by lkm_nullcmd(). Always call lkm load/unload/stat
functions instead of skipping the call if the function is nosys().
nosys() returned the wrong value as well as having the wrong type.
Diffstat (limited to 'sys/modules/coff')
-rw-r--r-- | sys/modules/coff/coff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/modules/coff/coff.c b/sys/modules/coff/coff.c index 9dd7117..67a4480 100644 --- a/sys/modules/coff/coff.c +++ b/sys/modules/coff/coff.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: coff.c,v 1.2 1995/05/30 06:06:00 rgrimes Exp $ + * $Id: coff.c,v 1.3 1995/10/28 12:34:58 peter Exp $ */ #include <sys/param.h> @@ -54,5 +54,6 @@ ibcs2_coff_unload(struct lkm_table *lkmtp, int cmd) ibcs2_coff_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, ibcs2_coff_load, ibcs2_coff_unload, nosys); + DISPATCH(lkmtp, cmd, ver, ibcs2_coff_load, ibcs2_coff_unload, + lkm_nullcmd); } |