Don't allow the same MISC module loading more than once..

This commit is contained in:
Søren Schmidt 1994-10-12 20:28:32 +00:00
parent b2f6e97280
commit 2a460312c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3549

View File

@ -893,6 +893,8 @@ lkmdispatch(lkmtp, cmd)
break;
case LM_MISC: /* ignore content -- no "misc-specific" procedure */
if (lkmexists(lkmtp))
err = EEXIST;
break;
default: