commit 3c1d1368d2c4c6502e7e7acbbbf194733fca752e
parent 7687d7f7d11519bca08db257bae8848415b73f3e
Author: sin <sin@2f30.org>
Date: Sat, 12 Apr 2014 14:30:56 +0100
Add insmod manpage and fix insmod usage
Diffstat:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/insmod.8 b/insmod.8
@@ -0,0 +1,10 @@
+.TH INSMOD 8 ubase-VERSION
+.SH NAME
+\fBinsmod\fR - Insert a module into the Linux kernel
+.SH SYNOPSIS
+\fBinsmod\fR filename [\fIargs...\fR]
+.SH DESCRIPTION
+\fBinsmod\fR inserts a module into the kernel. It does not handle
+module dependencies.
+.SH SEE ALSO
+rmmod(8), lsmod(8)
diff --git a/insmod.c b/insmod.c
@@ -11,7 +11,7 @@
static void
usage(void)
{
- eprintf("usage: %s module [args]\n", argv0);
+ eprintf("usage: %s filename [args...]\n", argv0);
}
int