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/syscons/star | |
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/syscons/star')
-rw-r--r-- | sys/modules/syscons/star/star_saver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/modules/syscons/star/star_saver.c b/sys/modules/syscons/star/star_saver.c index f78996b..6090f3e 100644 --- a/sys/modules/syscons/star/star_saver.c +++ b/sys/modules/syscons/star/star_saver.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: star_saver.c,v 1.3 1995/05/30 06:06:20 rgrimes Exp $ + * $Id: star_saver.c,v 1.4 1995/10/28 12:35:14 peter Exp $ */ #include <sys/param.h> @@ -108,5 +108,6 @@ star_saver_unload(struct lkm_table *lkmtp, int cmd) star_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, star_saver_load, star_saver_unload, nosys); + DISPATCH(lkmtp, cmd, ver, star_saver_load, star_saver_unload, + lkm_nullcmd); } |