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/green | |
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/green')
-rw-r--r-- | sys/modules/syscons/green/green_saver.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/param.h> @@ -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); } |