summaryrefslogtreecommitdiff
path: root/sbin/modload
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-08 21:51:51 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-08 21:51:51 +0000
commit841480725039bdd04a12f37af5f391825f0a2f60 (patch)
tree8e8be612792ab1a4e664a30519ec9478485a84a8 /sbin/modload
parentb66e1d01583c979cfe0970d100ab100930407df3 (diff)
change back to old behavior, where we load debugging symbols by default.
Diffstat (limited to 'sbin/modload')
-rw-r--r--sbin/modload/modload.84
-rw-r--r--sbin/modload/modload.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/modload/modload.8 b/sbin/modload/modload.8
index f63d3dd6cf1..037f60e7071 100644
--- a/sbin/modload/modload.8
+++ b/sbin/modload/modload.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: modload.8,v 1.19 2002/01/08 21:28:38 ericj Exp $
+.\" $OpenBSD: modload.8,v 1.20 2002/01/08 21:51:50 ericj Exp $
.\" $NetBSD: modload.8,v 1.17 2001/11/16 11:57:16 wiz Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
@@ -67,7 +67,7 @@ post-install program).
.It Fl v
Print comments about the loading process.
.It Fl s
-Load the symbol table.
+Do not load symbols from the kernel module.
.It Fl S
Do not remove the temporary object file. By default, the
.Xr ld 1
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index ae3e07580bd..f7cc63acead 100644
--- a/sbin/modload/modload.c
+++ b/sbin/modload/modload.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modload.c,v 1.29 2002/01/08 21:28:38 ericj Exp $ */
+/* $OpenBSD: modload.c,v 1.30 2002/01/08 21:51:50 ericj Exp $ */
/* $NetBSD: modload.c,v 1.30 2001/11/08 15:33:15 christos Exp $ */
/*
@@ -64,7 +64,7 @@
int debug = 0;
int verbose = 0;
char *out = NULL;
-int symtab = 0;
+int symtab = 1;
int Sflag;
static void cleanup __P((void));
@@ -273,7 +273,7 @@ main(int argc, char **argv)
noready = 1;
break;
case 's':
- symtab = 1;
+ symtab = 0;
break;
case 'S':
Sflag = 1;