From 5c9f0d05b3af7870d5ba6c40bcadf94b55663c58 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 31 Dec 2003 23:20:10 +0000 Subject: [PATCH] Fix debian bug #215612, insmod should be silent on request --- modutils/insmod.c | 7 ++++--- 1 file 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); #ifndef MODUTILS_MODULE_H static const int MODUTILS_MODULE_H = 1; -#ident "$Id: insmod.c,v 1.109 2003/12/24 20:30:45 andersen Exp $" +#ident "$Id: insmod.c,v 1.110 2003/12/31 23:20:10 bug1 Exp $" /* This file contains the structures used by the 2.0 and 2.1 kernels. We do not use the kernel headers directly because we do not wish @@ -503,7 +503,7 @@ int delete_module(const char *); #ifndef MODUTILS_OBJ_H static const int MODUTILS_OBJ_H = 1; -#ident "$Id: insmod.c,v 1.109 2003/12/24 20:30:45 andersen Exp $" +#ident "$Id: insmod.c,v 1.110 2003/12/31 23:20:10 bug1 Exp $" /* The relocatable object is manipulated using elfin types. */ @@ -4197,7 +4197,8 @@ extern int insmod_main( int argc, char **argv) } else m_filename = bb_xstrdup(argv[optind]); - printf("Using %s\n", m_filename); + if (!flag_quiet) + printf("Using %s\n", m_filename); #ifdef CONFIG_FEATURE_2_6_MODULES if (k_version > 4) -- 2.25.1