Module Name: src
Committed By: mbalmer
Date: Mon Oct 21 17:14:06 UTC 2013
Modified Files:
src/sbin/modstat: main.c modstat.8
Log Message:
properly display Lua modules
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/modstat/main.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/modstat/modstat.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/modstat/main.c
diff -u src/sbin/modstat/main.c:1.16 src/sbin/modstat/main.c:1.17
--- src/sbin/modstat/main.c:1.16 Wed Jun 26 17:55:38 2013
+++ src/sbin/modstat/main.c Mon Oct 21 17:14:06 2013
@@ -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);
Index: src/sbin/modstat/modstat.8
diff -u src/sbin/modstat/modstat.8:1.12 src/sbin/modstat/modstat.8:1.13
--- src/sbin/modstat/modstat.8:1.12 Wed Jun 26 17:55:38 2013
+++ src/sbin/modstat/modstat.8 Mon Oct 21 17:14:06 2013
@@ -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