From 4d0291b75bede5c6394b403a5dd945d6015f96d0 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 13 Nov 1995 07:19:10 +0000 Subject: 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. --- sys/modules/syscons/green/green_saver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/modules/syscons/green') diff --git a/sys/modules/syscons/green/green_saver.c b/sys/modules/syscons/green/green_saver.c index 24b2a58..b52e8ad 100644 --- a/sys/modules/syscons/green/green_saver.c +++ b/sys/modules/syscons/green/green_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: green_saver.c,v 1.2 1995/05/30 06:06:17 rgrimes Exp $ + * $Id: green_saver.c,v 1.3 1995/10/28 12:35:11 peter Exp $ */ #include @@ -81,5 +81,6 @@ green_saver_unload(struct lkm_table *lkmtp, int cmd) green_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, green_saver_load, green_saver_unload, nosys); + DISPATCH(lkmtp, cmd, ver, green_saver_load, green_saver_unload, + lkm_nullcmd); } -- cgit v1.1