summaryrefslogtreecommitdiff
path: root/insmod.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
commit67991cf824f8df27e74c92d754fb507681c69ce6 (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /insmod.c
parent68be2ab914e1e20fe666bbd22a89a18714be2789 (diff)
downloadbusybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.gz
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.bz2
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.zip
This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
Diffstat (limited to 'insmod.c')
-rw-r--r--insmod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/insmod.c b/insmod.c
index e55d9fafb..0da0a3962 100644
--- a/insmod.c
+++ b/insmod.c
@@ -81,7 +81,7 @@
81#ifndef MODUTILS_MODULE_H 81#ifndef MODUTILS_MODULE_H
82static const int MODUTILS_MODULE_H = 1; 82static const int MODUTILS_MODULE_H = 1;
83 83
84#ident "$Id: insmod.c,v 1.45 2001/01/31 19:00:21 kraai Exp $" 84#ident "$Id: insmod.c,v 1.46 2001/02/14 21:23:06 andersen Exp $"
85 85
86/* This file contains the structures used by the 2.0 and 2.1 kernels. 86/* This file contains the structures used by the 2.0 and 2.1 kernels.
87 We do not use the kernel headers directly because we do not wish 87 We do not use the kernel headers directly because we do not wish
@@ -287,7 +287,7 @@ int delete_module(const char *);
287#ifndef MODUTILS_OBJ_H 287#ifndef MODUTILS_OBJ_H
288static const int MODUTILS_OBJ_H = 1; 288static const int MODUTILS_OBJ_H = 1;
289 289
290#ident "$Id: insmod.c,v 1.45 2001/01/31 19:00:21 kraai Exp $" 290#ident "$Id: insmod.c,v 1.46 2001/02/14 21:23:06 andersen Exp $"
291 291
292/* The relocatable object is manipulated using elfin types. */ 292/* The relocatable object is manipulated using elfin types. */
293 293
@@ -2916,12 +2916,12 @@ extern int insmod_main( int argc, char **argv)
2916 * loading the same module 50 times concurrently. */ 2916 * loading the same module 50 times concurrently. */
2917 break; 2917 break;
2918 default: 2918 default:
2919 usage(insmod_usage); 2919 show_usage();
2920 } 2920 }
2921 } 2921 }
2922 2922
2923 if (argv[optind] == NULL) { 2923 if (argv[optind] == NULL) {
2924 usage(insmod_usage); 2924 show_usage();
2925 } 2925 }
2926 2926
2927 /* Grab the module name */ 2927 /* Grab the module name */