aboutsummaryrefslogtreecommitdiff
path: root/insmod.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
commite171a359ad2de7143fd6ad25bed00304af1094ec (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /insmod.c
parent76ed9456991d2fbfcb6348953a579ee8fce06f1b (diff)
downloadbusybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.gz
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.bz2
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 */