aboutsummaryrefslogtreecommitdiff
path: root/insmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'insmod.c')
-rw-r--r--insmod.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/insmod.c b/insmod.c
index eafec7d5d..9d473ca4a 100644
--- a/insmod.c
+++ b/insmod.c
@@ -70,12 +70,15 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size)
70static char m_filename[BUFSIZ + 1] = "\0"; 70static char m_filename[BUFSIZ + 1] = "\0";
71static char m_fullName[BUFSIZ + 1] = "\0"; 71static char m_fullName[BUFSIZ + 1] = "\0";
72static const char insmod_usage[] = 72static const char insmod_usage[] =
73 "insmod [OPTION]... MODULE [symbol=value]...\n\n" 73 "insmod [OPTION]... MODULE [symbol=value]...\n"
74 "Loads the specified kernel modules into the kernel.\n\n" 74#ifndef BB_FEATURE_TRIVIAL_HELP
75 "\nLoads the specified kernel modules into the kernel.\n\n"
75 "Options:\n" 76 "Options:\n"
76 77
77 "\t-f\tForce module to load into the wrong kernel version.\n" 78 "\t-f\tForce module to load into the wrong kernel version.\n"
78 "\t-k\tMake module autoclean-able.\n"; 79 "\t-k\tMake module autoclean-able.\n"
80#endif
81 ;
79 82
80 83
81static int findNamedModule(const char *fileName, struct stat *statbuf) 84static int findNamedModule(const char *fileName, struct stat *statbuf)