projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: update to latest git version
[openwrt.git]
/
package
/
busybox
/
patches
/
910-insmod-q-flag.patch
diff --git
a/package/busybox/patches/910-insmod-q-flag.patch
b/package/busybox/patches/910-insmod-q-flag.patch
index
596fe91
..
6002f20
100644
(file)
--- a/
package/busybox/patches/910-insmod-q-flag.patch
+++ b/
package/busybox/patches/910-insmod-q-flag.patch
@@
-1,6
+1,6
@@
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
-@@ -13
3,7 +133
,7 @@ int insmod_main(int argc, char **argv) M
+@@ -13
9,7 +139
,7 @@ int insmod_main(int argc, char **argv) M
int insmod_main(int argc UNUSED_PARAM, char **argv)
{
char *filename;
int insmod_main(int argc UNUSED_PARAM, char **argv)
{
char *filename;
@@
-9,7
+9,7
@@
/* Compat note:
* 2.6 style insmod has no options and required filename
/* Compat note:
* 2.6 style insmod has no options and required filename
-@@ -14
3,10 +143
,8 @@ int insmod_main(int argc UNUSED_PARAM, c
+@@ -14
9,10 +149
,8 @@ int insmod_main(int argc UNUSED_PARAM, c
* or in $MODPATH.
*/
* or in $MODPATH.
*/
@@
-22,10
+22,10
@@
filename = *++argv;
if (!filename)
filename = *++argv;
if (!filename)
-@@ -1
57,7 +155
,7 @@ int insmod_main(int argc UNUSED_PARAM, c
-
goto done;
+@@ -1
63,7 +161
,7 @@ int insmod_main(int argc UNUSED_PARAM, c
+ goto done;
- rc = bb_init_module(g_filename, parse_cmdline_module_options(argv));
+ rc = bb_init_module(g_filename, parse_cmdline_module_options(argv
, /*quote_spaces:*/ 0
));
- if (rc)
+ if (rc && !(opt & INSMOD_OPT_SILENT))
bb_error_msg("can't insert '%s': %s", filename, moderror(rc));
- if (rc)
+ if (rc && !(opt & INSMOD_OPT_SILENT))
bb_error_msg("can't insert '%s': %s", filename, moderror(rc));
This page took
0.022372 seconds
and
4
git commands to generate.