diff options
Diffstat (limited to 'insmod.c')
-rw-r--r-- | insmod.c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -70,7 +70,7 @@ | |||
70 | #ifndef MODUTILS_MODULE_H | 70 | #ifndef MODUTILS_MODULE_H |
71 | #define MODUTILS_MODULE_H 1 | 71 | #define MODUTILS_MODULE_H 1 |
72 | 72 | ||
73 | #ident "$Id: insmod.c,v 1.17 2000/07/14 16:23:32 proski Exp $" | 73 | #ident "$Id: insmod.c,v 1.18 2000/07/16 20:57:15 kraai Exp $" |
74 | 74 | ||
75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 75 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
76 | We do not use the kernel headers directly because we do not wish | 76 | We do not use the kernel headers directly because we do not wish |
@@ -276,7 +276,7 @@ int delete_module(const char *); | |||
276 | #ifndef MODUTILS_OBJ_H | 276 | #ifndef MODUTILS_OBJ_H |
277 | #define MODUTILS_OBJ_H 1 | 277 | #define MODUTILS_OBJ_H 1 |
278 | 278 | ||
279 | #ident "$Id: insmod.c,v 1.17 2000/07/14 16:23:32 proski Exp $" | 279 | #ident "$Id: insmod.c,v 1.18 2000/07/16 20:57:15 kraai Exp $" |
280 | 280 | ||
281 | /* The relocatable object is manipulated using elfin types. */ | 281 | /* The relocatable object is manipulated using elfin types. */ |
282 | 282 | ||
@@ -560,16 +560,6 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size) | |||
560 | #endif | 560 | #endif |
561 | static char m_filename[BUFSIZ + 1] = "\0"; | 561 | static char m_filename[BUFSIZ + 1] = "\0"; |
562 | static char m_fullName[BUFSIZ + 1] = "\0"; | 562 | static char m_fullName[BUFSIZ + 1] = "\0"; |
563 | static const char insmod_usage[] = | ||
564 | "insmod [OPTION]... MODULE [symbol=value]...\n" | ||
565 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
566 | "\nLoads the specified kernel modules into the kernel.\n\n" | ||
567 | "Options:\n" | ||
568 | "\t-f\tForce module to load into the wrong kernel version.\n" | ||
569 | "\t-k\tMake module autoclean-able.\n" | ||
570 | "\t-v\tverbose output\n" "\t-x\tdo not export externs\n" | ||
571 | #endif | ||
572 | ; | ||
573 | 563 | ||
574 | /*======================================================================*/ | 564 | /*======================================================================*/ |
575 | 565 | ||