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 /lkm/linux | |
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 'lkm/linux')
-rw-r--r-- | lkm/linux/linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lkm/linux/linux.c b/lkm/linux/linux.c index 7d58664..852251a 100644 --- a/lkm/linux/linux.c +++ b/lkm/linux/linux.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: linux.c,v 1.1 1995/06/25 17:29:48 sos Exp $ + * $Id: linux.c,v 1.2 1995/10/28 12:35:07 peter Exp $ */ #include <sys/param.h> @@ -54,5 +54,5 @@ linux_unload(struct lkm_table *lkmtp, int cmd) linux_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, linux_load, linux_unload, nosys); + DISPATCH(lkmtp, cmd, ver, linux_load, linux_unload, lkm_nullcmd); } |