aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/modstat/modstat.c
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-04-18 02:19:17 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-04-18 02:19:17 +0000
commitb877a2160bd696dfe90d011177110bcbba099717 (patch)
treebcd69cc43c92246d57f7317568a4f92b6960dc31 /usr.bin/modstat/modstat.c
parent4ec3b3ddf39e6361415212449e3f85658f9f7242 (diff)
downloadsrc-b877a2160bd696dfe90d011177110bcbba099717.tar.gz
src-b877a2160bd696dfe90d011177110bcbba099717.zip
Small fixups to use LM_UNKNOWN type, also fix slight formatting
offset problem in banner printf().
Notes
Notes: svn path=/head/; revision=7919
Diffstat (limited to 'usr.bin/modstat/modstat.c')
-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 7df85edf208d..ed7088f61328 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?