diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1995-04-20 05:08:53 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1995-04-20 05:08:53 +0000 |
commit | de2a1afc4706118d0146e7fcb045c90f9d0b88ec (patch) | |
tree | 4fc7fbc778106a26178e10bbc3110f30b130ed9b /usr.bin/modstat/modstat.c | |
parent | e902d016a609f03e84b3809f3d6c3385ced8a6ba (diff) | |
download | src-de2a1afc4706118d0146e7fcb045c90f9d0b88ec.tar.gz src-de2a1afc4706118d0146e7fcb045c90f9d0b88ec.zip |
Undo the stupidity I inflicted on these files and replace it with
some (hopefully) less offensive stupidity:
If we detect that a user has loaded a module that fails to initialize
itself correctly, panic. There really isn't a safe way to recover from
something like this; we can't know that the module is bad until after
the entry point is called, by which time it's too late to do anything
about it.
Notes
Notes:
svn path=/head/; revision=7947
Diffstat (limited to 'usr.bin/modstat/modstat.c')
-rw-r--r-- | usr.bin/modstat/modstat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/modstat/modstat.c b/usr.bin/modstat/modstat.c index ed7088f61328..956acf424bfc 100644 --- a/usr.bin/modstat/modstat.c +++ b/usr.bin/modstat/modstat.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: modstat.c,v 1.1 1994/08/19 12:14:06 davidg Exp $ + * $Id: modstat.c,v 1.2 1995/04/18 02:19:17 wpaul Exp $ */ #include <stdio.h> @@ -61,8 +61,7 @@ static char *type_names[] = { "DEV", "STRMOD", "EXEC", - "MISC", - "UNKNOWN" + "MISC" }; int |