summaryrefslogtreecommitdiff
path: root/sbin/modstat
diff options
context:
space:
mode:
authormbalmer <mbalmer@NetBSD.org>2013-10-21 17:14:06 +0000
committermbalmer <mbalmer@NetBSD.org>2013-10-21 17:14:06 +0000
commit7cffb3d6a8a8ead51f0d75d3841609448d29bd72 (patch)
treeb6a5e4a98043c487e484409d4598304a5fde55bf /sbin/modstat
parent971223731af6b6afd2c3d4ba7ad4418ecca8f150 (diff)
properly display Lua modules
Diffstat (limited to 'sbin/modstat')
-rw-r--r--sbin/modstat/main.c5
-rw-r--r--sbin/modstat/modstat.86
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/modstat/main.c b/sbin/modstat/main.c
index 7d2a01a625c..b10175fde4a 100644
--- a/sbin/modstat/main.c
+++ b/sbin/modstat/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.16 2013/06/26 17:55:38 riz Exp $ */
+/* $NetBSD: main.c,v 1.17 2013/10/21 17:14:06 mbalmer Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.16 2013/06/26 17:55:38 riz Exp $");
+__RCSID("$NetBSD: main.c,v 1.17 2013/10/21 17:14:06 mbalmer Exp $");
#endif /* !lint */
#include <sys/module.h>
@@ -55,6 +55,7 @@ static const char *classes[] = {
"driver",
"exec",
"secmodel",
+ "lua"
};
const unsigned int class_max = __arraycount(classes);
diff --git a/sbin/modstat/modstat.8 b/sbin/modstat/modstat.8
index 64b3405f583..90ae5ede35b 100644
--- a/sbin/modstat/modstat.8
+++ b/sbin/modstat/modstat.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: modstat.8,v 1.12 2013/06/26 17:55:38 riz Exp $
+.\" $NetBSD: modstat.8,v 1.13 2013/10/21 17:14:06 mbalmer Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd June 26, 2013
+.Dd October 21, 2013
.Dt MODSTAT 8
.Os
.Sh NAME
@@ -78,7 +78,7 @@ includes:
.Bl -tag -width Loadaddr
.It Li CLASS
Module class, such as
-"vfs", "driver", "exec", "misc" or "secmodel".
+"vfs", "driver", "exec", "lua", "misc" or "secmodel".
.It Li SOURCE
Where the module was loaded from.
.Qq Dv builtin