diff options
Diffstat (limited to 'insmod.c')
-rw-r--r-- | insmod.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -70,12 +70,15 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size) | |||
70 | static char m_filename[BUFSIZ + 1] = "\0"; | 70 | static char m_filename[BUFSIZ + 1] = "\0"; |
71 | static char m_fullName[BUFSIZ + 1] = "\0"; | 71 | static char m_fullName[BUFSIZ + 1] = "\0"; |
72 | static const char insmod_usage[] = | 72 | static 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 | ||
81 | static int findNamedModule(const char *fileName, struct stat *statbuf) | 84 | static int findNamedModule(const char *fileName, struct stat *statbuf) |