aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2004-07-20 15:43:57 +0000
committerRobert Griebl <griebl@gmx.de>2004-07-20 15:43:57 +0000
commit809387fe9e47d5b3a62764ffdd0278194361ca7f (patch)
tree8c0dc356fb13b6c85d41c03c17c1641f737ab390 /modutils
parent83676f173188da0bed442e9284f99784aa97d57d (diff)
downloadbusybox-809387fe9e47d5b3a62764ffdd0278194361ca7f.tar.gz
new_process_module_arguments returns 0 on error and 1 if everything went ok
somehow the ! got lost.. symptoms: modules could only be loaded _without_ parameters
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 50cf007f0..d1aa24f14 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -290,7 +290,7 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $"
+#ident "$Id: insmod.c,v 1.122 2004/07/20 15:43:57 sandman Exp $"
/*======================================================================*/
/* For sizeof() which are related to the module platform and not to the
@@ -448,7 +448,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $"
+#ident "$Id: insmod.c,v 1.122 2004/07/20 15:43:57 sandman Exp $"
/* The relocatable object is manipulated using elfin types. */
@@ -3865,7 +3865,7 @@ extern int insmod_main( int argc, char **argv)
++optind;
if (optind < argc) {
- if (new_process_module_arguments(f, argc - optind, argv + optind))
+ if (!new_process_module_arguments(f, argc - optind, argv + optind))
{
goto out;
}