summaryrefslogtreecommitdiffstats
path: root/usr.bin/modstat
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-04-18 02:19:17 +0000
committerwpaul <wpaul@FreeBSD.org>1995-04-18 02:19:17 +0000
commitf1cc0e968bfd758642e6782db92c64cbdca3c175 (patch)
treebcd69cc43c92246d57f7317568a4f92b6960dc31 /usr.bin/modstat
parenta351b57f94ef49c3cc24b433b12c589ff627fbeb (diff)
downloadFreeBSD-src-f1cc0e968bfd758642e6782db92c64cbdca3c175.zip
FreeBSD-src-f1cc0e968bfd758642e6782db92c64cbdca3c175.tar.gz
Small fixups to use LM_UNKNOWN type, also fix slight formatting
offset problem in banner printf().
Diffstat (limited to 'usr.bin/modstat')
-rw-r--r--usr.bin/modstat/modstat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/modstat/modstat.c b/usr.bin/modstat/modstat.c
index 7df85ed..ed7088f 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.5 1994/05/23 05:44:08 cgd Exp $
+ * $Id: modstat.c,v 1.1 1994/08/19 12:14:06 davidg Exp $
*/
#include <stdio.h>
@@ -61,7 +61,8 @@ static char *type_names[] = {
"DEV",
"STRMOD",
"EXEC",
- "MISC"
+ "MISC",
+ "UNKNOWN"
};
int
@@ -157,7 +158,7 @@ main(argc, argv)
atexit(cleanup);
- printf("Type Id Off Loadaddr Size Info Rev Module Name\n");
+ printf("Type Id Off Loadaddr Size Info Rev Module Name\n");
/*
* Oneshot?
OpenPOWER on IntegriCloud