From 3c1d1368d2c4c6502e7e7acbbbf194733fca752e Mon Sep 17 00:00:00 2001 From: sin Date: Sat, 12 Apr 2014 14:30:56 +0100 Subject: [PATCH] Add insmod manpage and fix insmod usage --- insmod.8 | 10 ++++++++++ insmod.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 insmod.8 diff --git a/insmod.8 b/insmod.8 new file mode 100644 index 0000000..7273a50 --- /dev/null +++ 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 index c5c1c0b..0ca23dc 100644 --- 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