diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-12-31 23:20:10 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-12-31 23:20:10 +0000 |
commit | 5c9f0d05b3af7870d5ba6c40bcadf94b55663c58 (patch) | |
tree | 10d623348e4c36e482ebfcf486490cc66f9df4c8 | |
parent | cfc0ad4260149f5cdad59c79051c3779d42b2ff5 (diff) | |
download | busybox-w32-5c9f0d05b3af7870d5ba6c40bcadf94b55663c58.tar.gz busybox-w32-5c9f0d05b3af7870d5ba6c40bcadf94b55663c58.tar.bz2 busybox-w32-5c9f0d05b3af7870d5ba6c40bcadf94b55663c58.zip |
Fix debian bug #215612, insmod should be silent on request
-rw-r--r-- | modutils/insmod.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index e69a1bb04..1895622de 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -282,7 +282,7 @@ extern int insmod_ng_main( int argc, char **argv); | |||
282 | #ifndef MODUTILS_MODULE_H | 282 | #ifndef MODUTILS_MODULE_H |
283 | static const int MODUTILS_MODULE_H = 1; | 283 | static const int MODUTILS_MODULE_H = 1; |
284 | 284 | ||
285 | #ident "$Id: insmod.c,v 1.109 2003/12/24 20:30:45 andersen Exp $" | 285 | #ident "$Id: insmod.c,v 1.110 2003/12/31 23:20:10 bug1 Exp $" |
286 | 286 | ||
287 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 287 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
288 | We do not use the kernel headers directly because we do not wish | 288 | We do not use the kernel headers directly because we do not wish |
@@ -503,7 +503,7 @@ int delete_module(const char *); | |||
503 | #ifndef MODUTILS_OBJ_H | 503 | #ifndef MODUTILS_OBJ_H |
504 | static const int MODUTILS_OBJ_H = 1; | 504 | static const int MODUTILS_OBJ_H = 1; |
505 | 505 | ||
506 | #ident "$Id: insmod.c,v 1.109 2003/12/24 20:30:45 andersen Exp $" | 506 | #ident "$Id: insmod.c,v 1.110 2003/12/31 23:20:10 bug1 Exp $" |
507 | 507 | ||
508 | /* The relocatable object is manipulated using elfin types. */ | 508 | /* The relocatable object is manipulated using elfin types. */ |
509 | 509 | ||
@@ -4197,7 +4197,8 @@ extern int insmod_main( int argc, char **argv) | |||
4197 | } else | 4197 | } else |
4198 | m_filename = bb_xstrdup(argv[optind]); | 4198 | m_filename = bb_xstrdup(argv[optind]); |
4199 | 4199 | ||
4200 | printf("Using %s\n", m_filename); | 4200 | if (!flag_quiet) |
4201 | printf("Using %s\n", m_filename); | ||
4201 | 4202 | ||
4202 | #ifdef CONFIG_FEATURE_2_6_MODULES | 4203 | #ifdef CONFIG_FEATURE_2_6_MODULES |
4203 | if (k_version > 4) | 4204 | if (k_version > 4) |